PDA

Visualizza la versione completa : penna usb


morpheus106
29-04-2004, 19:27
Appena collego la penna usb alla Mandrake me la monta. Volevo capire che device fosse per smontarla...
/dev/sda1...???

gianiaz
29-04-2004, 19:34
cat /proc/mounts

morpheus106
29-04-2004, 19:44
come posso farti vedere il listato di /proc/mounts?

pazx
29-04-2004, 20:14
cat /proc/mounts >> output
poi apri output con un editor, copi e incolli nel forum. :)

morpheus106
30-04-2004, 10:09
rootfs / rootfs rw 0 0
/dev/root / ext3 rw 0 0
none /dev devfs rw 0 0
none /proc proc rw 0 0
none /proc/bus/usb usbfs rw 0 0
/dev/hda1 /boot ext3 rw 0 0
none /dev/pts devpts rw 0 0
none /mnt/cdrom supermount ro,dev=/dev/hdb,fs=udf:iso9660,tray_lock=onwrite,--,iocharset=iso8859-15 0 0
none /mnt/floppy supermount rw,sync,dev=/dev/fd0,fs=ext2:vfat,tray_lock=onwrite,--,umask=0,codepage=850,iocharset=iso8859-15 0 0
none /mnt/hd supermount rw,dev=/dev/sdb1,fs=ext2:vfat,tray_lock=onwrite,--,iocharset=iso8859-15,codepage=850 0 0

la cosa strana che non riesco a smontarla!?!?!

gianiaz
30-04-2004, 10:13
in che senso?

umount /dev/sdb1

non va?

prova a usare

umount -f /dev/sdb1

che utente usi per montare la penna? non che mdk te la monta in auto da utente root?

morpheus106
30-04-2004, 10:21
allora, se da user scrivo
umount -f /dev/sdb1
possibile solo per root
allora se lo scrivo da root mi risponde:
umount: /dev/sdb1: non montato
?????

gianiaz
30-04-2004, 10:33
mi sembra proprio strano....
se cat /proc/mounts dice che la penna montata deve essere possibile anche smontarla...
non saprei proprio come aiutarti...
prova a postare il tuo file /etc/fstab e il tuo file /etc/mtab a penna montata.

ciao

morpheus106
30-04-2004, 10:39
ok aspetta...

morpheus106
30-04-2004, 10:42
questo fstab:
/dev/hda5 / ext3 defaults 1 1
/dev/hda1 /boot ext3 defaults 1 2
none /dev/pts devpts mode=0620 0 0
none /mnt/cdrom supermount dev=/dev/hdb,fs=udf:iso9660,ro,--,iocharset=iso8859-15 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,codepage=850,iocharset=iso8859-15,sync 0 0
none /proc proc defaults 0 0
/dev/hda6 swap swap defaults 0 0
/dev/hdc2 swap swap defaults 0 0
none /mnt/hd supermount dev=/dev/sdb1,fs=ext2:vfat,--,kudzu,iocharset=iso8859-15,codepage=850 0 0

e questo mtab:
/dev/ide/host0/bus0/target0/lun0/part5 / ext3 rw 0 0
none /proc proc rw 0 0
none /proc/bus/usb usbfs rw 0 0
none /dev devfs rw 0 0
/dev/ide/host0/bus0/target0/lun0/part1 /boot ext3 rw 0 0
none /dev/pts devpts rw,mode=0620 0 0
none /mnt/cdrom supermount ro,dev=/dev/hdb,fs=udf:iso9660,--,iocharset=iso8859-15 0 0
none /mnt/floppy supermount rw,sync,dev=/dev/fd0,fs=ext2:vfat,--,umask=0,codepage=850,iocharset=iso8859-15 0 0
none /mnt/hd supermount rw,dev=/dev/sdb1,fs=ext2:vfat,--,iocharset=iso8859-15,codepage=850 0 0

Loading