View previous topic :: View next topic |
Author |
Message |
leon_73 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/19948170973f0c226f51d37.jpg)
Joined: 13 Mar 2003 Posts: 505 Location: Milano
|
Posted: Wed Jun 08, 2005 8:31 am Post subject: Forzare vfat |
|
|
Ciao a tutti,
ho un problema con la mia chiavetta usb. Ho inserito la seguente stringa nel file fstab Code: | /dev/sdb1 /mnt/usb auto noauto,users,uid=1000 0 0 |
quando la monto la chiavetta ottengo che questa viene montata con fs msdos Code: | /dev/sdb1 on /mnt/usb type msdos (rw,noexec,nosuid,nodev,uid=1000) | io invece vorrei che venisse montato con vfat.
Il problema e' che se la monto a manina, specificando il fs vfat me la monta lo correttamente, ma io vorrei mantenere auto come valore perche' ne ho un'altra che invece vfat non e'
Leo |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Cazzantonio Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/195356323743686d76373d8.jpg)
Joined: 20 Mar 2004 Posts: 4514 Location: Somewere around the world
|
Posted: Wed Jun 08, 2005 10:36 am Post subject: |
|
|
Probabilmente non è una vfat (fat32) ma msdos (fat16 se non sbaglio)
Non capisco perché tu voglia forzare un altro tipo di fs... giusto per vedere quali simpatici errori in lettura/scrittura ti potrebbero venire fuori? _________________ Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
X-Drum Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1870365650443690caa453e.png)
Joined: 24 Aug 2003 Posts: 2517 Location: ('Modica','Trieste','Ferrara') Italy
|
Posted: Wed Jun 08, 2005 12:23 pm Post subject: |
|
|
se proprio vuoi fat32 come fs riformattala
cmq un fdisk -l /dev/sdx ti conferma l'fs in uso attualmente _________________ "...There are two sort of lies, lies and benchmarks..." |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
neryo Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/gallery/Funny_Figure/klo.gif)
Joined: 09 Oct 2004 Posts: 1292 Location: Ferrara, Italy, Europe
|
Posted: Wed Jun 08, 2005 1:13 pm Post subject: |
|
|
puoi emergiarti il pacchetto dosfstools che contiene mkfs.vfat e convertirti la tua partizione della penna in fat32 ![Wink :wink:](images/smiles/icon_wink.gif) _________________ cache: a safe place for hiding or storing things..
D-link DWL-G650 AirPlus
Apache Php Mysql |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
X-Act! Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/74029270648c56c06b15ec.gif)
Joined: 22 Nov 2004 Posts: 245 Location: /home/xact/
|
Posted: Wed Jun 08, 2005 9:04 pm Post subject: |
|
|
Cazzantonio wrote: | Non capisco perché tu voglia forzare un altro tipo di fs... giusto per vedere quali simpatici errori in lettura/scrittura ti potrebbero venire fuori? |
Effettivamente anche a me la chiavetta vfat (formattata da me!) con auto un fstab mi veniva montata come msdos con la tristezza dei nomi di file a 8 caratteri... Avendo solo quella ho messo vfat al posto di auto, ma se non vuoi proprio farlo magari vedi se puoi risolvere con udev... _________________ "Io non mi sento obbligato a credere che lo stesso Dio che ci ha dotato di senso, ragione ed intelletto intendesse che noi ne facessimo a meno."
-- Galileo Galilei |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Sparker l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/14879797624064996b6b89f.jpg)
Joined: 28 Aug 2003 Posts: 992
|
Posted: Wed Jun 08, 2005 9:15 pm Post subject: |
|
|
man mkfs.vfat:
Code: |
-F FAT-size
Specifies the type of file allocation tables used (12, 16 or 32 bit). If noth-
ing is specified, mkdosfs will automatically select between 12 and 16 bit,
whatever fits better for the filesystem size. 32 bit FAT (FAT32 format) must
(still) be selected explicitly if you want it.
|
In parole povere, dovete usare mkfs.vfat -F 32 /dev/sdaX se volete che la chiavetta sia in fat32 e non in fat16
See ya |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
leon_73 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/19948170973f0c226f51d37.jpg)
Joined: 13 Mar 2003 Posts: 505 Location: Milano
|
Posted: Thu Jun 09, 2005 10:16 am Post subject: |
|
|
Sparker wrote: | man mkfs.vfat:
Code: |
-F FAT-size
Specifies the type of file allocation tables used (12, 16 or 32 bit). If noth-
ing is specified, mkdosfs will automatically select between 12 and 16 bit,
whatever fits better for the filesystem size. 32 bit FAT (FAT32 format) must
(still) be selected explicitly if you want it.
|
In parole povere, dovete usare mkfs.vfat -F 32 /dev/sdaX se volete che la chiavetta sia in fat32 e non in fat16
See ya | Ringrazio tutti per i consigli, ma la chiavetta e' gia' stata formattata in fat32 sotto windows...
speravo che baselayout-1.11.12-r4 si fosse risolta ma non va comunque ![Sad :-(](images/smiles/icon_sad.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Ic3M4n Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/108089865444d4c570e38bb.gif)
Joined: 02 Nov 2004 Posts: 3489 Location: Bergamo.
|
Posted: Thu Jun 09, 2005 1:42 pm Post subject: |
|
|
leon_73 wrote: | speravo che baselayout-1.11.12-r4 si fosse risolta ma non va comunque ![Sad :-(](images/smiles/icon_sad.gif) |
cioè?
leon_73 wrote: | ma la chiavetta e' gia' stata formattata in fat32 sotto windows... | ah! si scusa, mi ero dimenticato che windows non sbaglia mai ![Wink :wink:](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
leon_73 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/19948170973f0c226f51d37.jpg)
Joined: 13 Mar 2003 Posts: 505 Location: Milano
|
Posted: Thu Jun 09, 2005 5:06 pm Post subject: |
|
|
Ic3M4n wrote: | leon_73 wrote: | speravo che baselayout-1.11.12-r4 si fosse risolta ma non va comunque ![Sad :-(](images/smiles/icon_sad.gif) |
cioè?
|
I filesystems sono gestiti in modo diverso... /etc/filesystem non e' piu' un link a /proc/filesystem ma un file a parte
Ic3M4n wrote: |
leon_73 wrote: | ma la chiavetta e' gia' stata formattata in fat32 sotto windows... | ah! si scusa, mi ero dimenticato che windows non sbaglia mai ![Wink :wink:](images/smiles/icon_wink.gif) |
Non e' che win non sbaglia mai... ma almeno le cose di base le riesce a fare...
e comunque Code: | volantino ~ # fdisk -l /dev/sdb
Disk /dev/sdb: 262 MB, 262144000 bytes
9 heads, 56 sectors/track, 1015 cylinders
Units = cilindri of 504 * 512 = 258048 bytes
Dispositivo Boot Start End Blocks Id System
/dev/sdb1 1 1015 255752 c W95 FAT32 (LBA)
| mentre Code: | volantino ~ # mount -t auto /dev/sdb1 /mnt/usb/
volantino ~ # mount
/dev/sda3 on / type ext3 (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw)
/dev/volgr/home on /home type reiserfs (rw)
/dev/volgr/usr on /usr type reiserfs (rw)
/dev/volgr/portage on /usr/portage type reiser4 (rw)
/dev/volgr/var on /var type reiserfs (rw)
/dev/volgr/ccache on /var/tmp/ccache type reiser4 (rw)
/dev/sda1 on /mnt/windows type ntfs (rw,noexec,nosuid,nodev,uid=1000)
none on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sdb1 on /mnt/usb type msdos (rw)
| anche se Code: | volantino ~ # cat /etc/filesystems
# /etc/filesystems
# $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/filesystems,v 1.1.2.3 2005/05/16 03:05:45 vapier Exp $
# This file defines the filesystems search order used by a
# 'mount -t auto' command.
# Uncomment the following line if your modular kernel has vfat
# support and you want mount to try vfat.
vfat
# Keep the last '*' intact as it directs mount to use the
# filesystems list available at /proc/filesystems also.
# Don't remove it unless you REALLY knows what you are doing!
*
|
altre proposte?
Leo |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|