Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
(solved)2 usb devices w/ different filesystems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
krazy_kenny1
n00b
n00b


Joined: 16 Aug 2005
Posts: 60

PostPosted: Tue Aug 16, 2005 8:56 pm    Post subject: (solved)2 usb devices w/ different filesystems Reply with quote

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
View user's profile Send private message
Hayl
Guru
Guru


Joined: 28 Jan 2003
Posts: 442
Location: Calgary, Alberta, Canada

PostPosted: Wed Aug 17, 2005 2:06 am    Post subject: Reply with quote

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
View user's profile Send private message
krazy_kenny1
n00b
n00b


Joined: 16 Aug 2005
Posts: 60

PostPosted: Wed Aug 17, 2005 4:05 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum