You are not logged in.

#1 2003-10-07 17:20:31

marin_linuxer
Member
From: San Rafael, CA U.S.A.
Registered: 2003-09-03
Posts: 111
Website

USB device mounting via 'fstab'

OK, ... just wondering which option, below, is appropriate/preferred for Arch using USB file systems in 'fstab':

#1 

none    /dev/pts        devpts  gid=5,mode=620    0    0

#2 

usbfs    /proc/bus/usb    usbfs defaults                0    0

#3 

usbdevfs    /proc/bus/usb    usbdevfs defaults        0    0

Thanx.


-- Linux!  Isn't it time?

Offline

#2 2003-10-08 03:10:24

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: USB device mounting via 'fstab'

I am also asking about the same question not knowing how to mount USB devices with fstab. With standard code (/dev/sda1 /mnt/my-usb auto default 0 0) didn't work. Currently I am using this code in /etc/rc.local

if [ -a /dev/sda ]; then
mount /dev/sda1 /mnt/my-usb
fi

Markku

Offline

#3 2003-10-13 21:06:45

zen_guerrilla
Member
From: Greece
Registered: 2002-12-22
Posts: 259

Re: USB device mounting via 'fstab'

Sorry for the late answer smile.

marin_linuxer:
This is for usbfs (aka info for usb devices under /proc/bus/usb dir) :

none  /proc/bus/usb  usbfs  defaults   0 0

rasat:
make sure you have usb-storage, sd_mod in your /etc/rc.conf, then add the line you mention in /etc/fstab, changing 'auto' with the actual fs of your usb device

Offline

#4 2003-10-14 04:29:39

marin_linuxer
Member
From: San Rafael, CA U.S.A.
Registered: 2003-09-03
Posts: 111
Website

Re: USB device mounting via 'fstab'

Thank You !!  Will test, soon.


-- Linux!  Isn't it time?

Offline

#5 2003-10-14 12:25:08

zen_guerrilla
Member
From: Greece
Registered: 2002-12-22
Posts: 259

Re: USB device mounting via 'fstab'

'usbfs' works with both 2.4 & 2.6 kernels IMHO.

Offline

Board footer

Powered by FluxBB