Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Forzare vfat
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
leon_73
Guru
Guru


Joined: 13 Mar 2003
Posts: 505
Location: Milano

PostPosted: Wed Jun 08, 2005 8:31 am    Post subject: Forzare vfat Reply with quote

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


Joined: 20 Mar 2004
Posts: 4514
Location: Somewere around the world

PostPosted: Wed Jun 08, 2005 10:36 am    Post subject: Reply with quote

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
View user's profile Send private message
X-Drum
Advocate
Advocate


Joined: 24 Aug 2003
Posts: 2517
Location: ('Modica','Trieste','Ferrara') Italy

PostPosted: Wed Jun 08, 2005 12:23 pm    Post subject: Reply with quote

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


Joined: 09 Oct 2004
Posts: 1292
Location: Ferrara, Italy, Europe

PostPosted: Wed Jun 08, 2005 1:13 pm    Post subject: Reply with quote

puoi emergiarti il pacchetto dosfstools che contiene mkfs.vfat e convertirti la tua partizione della penna in fat32 :wink:
_________________
cache: a safe place for hiding or storing things..

D-link DWL-G650 AirPlus
Apache Php Mysql
Back to top
View user's profile Send private message
X-Act!
Apprentice
Apprentice


Joined: 22 Nov 2004
Posts: 245
Location: /home/xact/

PostPosted: Wed Jun 08, 2005 9:04 pm    Post subject: Reply with quote

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


Joined: 28 Aug 2003
Posts: 992

PostPosted: Wed Jun 08, 2005 9:15 pm    Post subject: Reply with quote

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


Joined: 13 Mar 2003
Posts: 505
Location: Milano

PostPosted: Thu Jun 09, 2005 10:16 am    Post subject: Reply with quote

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 :-(
Back to top
View user's profile Send private message
Ic3M4n
Advocate
Advocate


Joined: 02 Nov 2004
Posts: 3489
Location: Bergamo.

PostPosted: Thu Jun 09, 2005 1:42 pm    Post subject: Reply with quote

leon_73 wrote:
speravo che baselayout-1.11.12-r4 si fosse risolta ma non va comunque :-(

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:
Back to top
View user's profile Send private message
leon_73
Guru
Guru


Joined: 13 Mar 2003
Posts: 505
Location: Milano

PostPosted: Thu Jun 09, 2005 5:06 pm    Post subject: Reply with quote

Ic3M4n wrote:
leon_73 wrote:
speravo che baselayout-1.11.12-r4 si fosse risolta ma non va comunque :-(

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:

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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