[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [debian-knoppix] HotPlug / My fstab problem?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi

> I am not able to get the hotplug working...
> I can see that I have an USB thing plugged but I cannot find a way to mount
> or access the data.

Usually you should see something like this:

Jul 18 11:10:39 Skeeve kernel: usb.c: USB device 7 (vend/prod 0x67b/0x2507) is 
not claimed by any active driver.
Jul 18 11:10:45 Skeeve kernel: Initializing USB Mass Storage driver...
Jul 18 11:10:45 Skeeve kernel: usb.c: registered new driver usb-storage
Jul 18 11:10:45 Skeeve kernel: scsi1 : SCSI emulation for USB Mass Storage 
devices
Jul 18 11:10:45 Skeeve kernel: usb-uhci.c: interrupt, status 3, frame# 2040
Jul 18 11:10:45 Skeeve kernel:   Vendor: TOSHIBA   Model: MK6021GAS         
Rev: GA02
Jul 18 11:10:45 Skeeve kernel:   Type:   Direct-Access                      
ANSI SCSI revision: 02
Jul 18 11:10:45 Skeeve kernel: Attached scsi disk sda at scsi1, channel 0, id 
0, lun 0
Jul 18 11:10:45 Skeeve kernel: SCSI device sda: 117210241 512-byte hdwr 
sectors (60012 MB)
Jul 18 11:10:45 Skeeve kernel:  sda: sda1
Jul 18 11:10:45 Skeeve kernel: USB Mass Storage support registered.

Now you can do a "mount /dev/sda1 /mnt/usb" (if a subdirectory named usb exits 
and voila you have whatever USB mass storage attached.

>
> I am wondering if it could not be an error in my fstab Code:
>
> # /etc/fstab: filesystem table.
> #
> # filesystem  mountpoint  type  options  dump  pass
> /dev/hda3  /  reiserfs  defaults  0  1
> /dev/hda6  none  swap  sw  0  0
> proc  /proc  proc  defaults  0  0
> none  /proc/bus/usb  usbdevfs  defaults 0 0
> /dev/fd0  /floppy  vfat  defaults,user,noauto,showexec,umask=022  0  0
> /dev/cdrom  /cdrom  iso9660  defaults,ro,user,noexec,noauto  0  0
>
> # partitions found by Knoppix
> #/dev/hda3 /mnt/hda3 reiserfs noauto,users,exec 0 0
> /dev/hda1 /mnt/hda1 ntfs defaults,users,exec 0 0
> /dev/hda5 /mnt/hda5 vfat defaults,users,exec,umask=000 0 0

It has to look something like this:
"/dev/sda1	/mnt/usb	auto	auto,users		0 0"

Hope that helps you



Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/G9Tv/txsUUbA04MRArdeAJ9DQJE9Q0UyL+eQPpnFjR32jmIMngCeIaPr
Qak/fd4uEHmIrHykVWI8Qps=
=EVZL
-----END PGP SIGNATURE-----
_______________________________________________
debian-knoppix mailing list
debian-knoppix@linuxtag.org
http://mailman.linuxtag.org/mailman/listinfo/debian-knoppix


Reply to: