View previous topic :: View next topic |
Author |
Message |
krazy_kenny1 n00b
Joined: 16 Aug 2005 Posts: 60
|
Posted: Tue Aug 16, 2005 8:56 pm Post subject: (solved)2 usb devices w/ different filesystems |
|
|
still kind of a noob so bear with me...i have a usb key with the fat filesystem i've been using for awhile via this line in my fstab:
/dev/sda1 /mnt/usb vfat noauto,user,exec 0 0
i now also have an external usb hardrive that is formatted ntfs that i can mount as root using "mount /dev/sda1 /mnt/usb" but i can't mount or access it as non-root. i don't know how to enter this drive in my fstab since it is also sda1 but has a different filesystem.....
Last edited by krazy_kenny1 on Wed Aug 17, 2005 4:06 am; edited 1 time in total |
|
Back to top |
|
|
Hayl Guru
Joined: 28 Jan 2003 Posts: 442 Location: Calgary, Alberta, Canada
|
Posted: Wed Aug 17, 2005 2:06 am Post subject: |
|
|
set-up udev to make a symlink for each device with a meaningful name. you can set-up udev to look at various usb data that is specific to each device so it knows the difference, then you can use /dev/some_meaningful_name1 and /dev/some_meaningful_name2 for each device and therefore will be able to have different filesystems for each. it will create and remove the /dev/sda and the symlink dynamically for each device when they are plugged in/out.
there is a udev how-to on the Gentoo WIKI site. _________________ "I do not fear computers. I fear lack of them." - Isaac Asimov |
|
Back to top |
|
|
krazy_kenny1 n00b
Joined: 16 Aug 2005 Posts: 60
|
Posted: Wed Aug 17, 2005 4:05 am Post subject: |
|
|
i'll look into that for future reference but i actually already solved my problem. at first i thought the person i'm doing this for needed to keep all the files that are on the drive, but they then said i could format it if i wanted since they made a backup first. so i just reformatted it fat32...thanks anyways though |
|
Back to top |
|
|
|