* [gentoo-user] Changing volume name of a FAT partition
@ 2005-08-02 18:38 Neil Bothwick
2005-08-02 19:23 ` Zac Medico
2005-08-02 21:15 ` Peter Ruskin
0 siblings, 2 replies; 5+ messages in thread
From: Neil Bothwick @ 2005-08-02 18:38 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 427 bytes --]
Is there a way to set or change the volume name of a FAT partition
without reformatting it? When using HAL with KDE or Gnome Volume Manager
to display icons of USB devices, it uses the volume name, if present, as
the icon text, so it would be useful to be able to change this to give a
more meaningful label.
--
Neil Bothwick
the sum of all human intelligence is constant, only the number of humans
increases.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Changing volume name of a FAT partition
2005-08-02 18:38 [gentoo-user] Changing volume name of a FAT partition Neil Bothwick
@ 2005-08-02 19:23 ` Zac Medico
2005-08-02 21:15 ` Peter Ruskin
1 sibling, 0 replies; 5+ messages in thread
From: Zac Medico @ 2005-08-02 19:23 UTC (permalink / raw
To: gentoo-user
Neil Bothwick wrote:
> Is there a way to set or change the volume name of a FAT partition
> without reformatting it? When using HAL with KDE or Gnome Volume Manager
> to display icons of USB devices, it uses the volume name, if present, as
> the icon text, so it would be useful to be able to change this to give a
> more meaningful label.
>
>
That sounds like a job for dd (be careful though). I used conv=notrunc but that shouldn't be necessary for a normal block device.
$ dd if=/dev/zero of=floppy.img bs=1k seek=1440 count=0
0+0 records in
0+0 records out
$ /usr/sbin/mkdosfs -n 12345678901 floppy.img
mkdosfs 2.11 (12 Mar 2005)
$ strings -t d floppy.img
3 mkdosfs
42 B12345678901FAT12
91 This is not a bootable disk. Please insert a bootable floppy and
158 press any key to try again ...
9728 12345678901
$ echo -n "abcdefghijk" | dd of=floppy.img bs=1 seek=43 count=11 conv=notrunc
11+0 records in
11+0 records out
$ strings -t d floppy.img
3 mkdosfs
42 BabcdefghijkFAT12
91 This is not a bootable disk. Please insert a bootable floppy and
158 press any key to try again ...
9728 12345678901
Zac
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Changing volume name of a FAT partition
2005-08-02 18:38 [gentoo-user] Changing volume name of a FAT partition Neil Bothwick
2005-08-02 19:23 ` Zac Medico
@ 2005-08-02 21:15 ` Peter Ruskin
2005-08-02 22:04 ` [gentoo-user] ReiserFS4 Ryan
2005-08-02 23:57 ` [gentoo-user] Changing volume name of a FAT partition Neil Bothwick
1 sibling, 2 replies; 5+ messages in thread
From: Peter Ruskin @ 2005-08-02 21:15 UTC (permalink / raw
To: gentoo-user
On Tuesday 02 August 2005 19:38, Neil Bothwick wrote:
> Is there a way to set or change the volume name of a FAT
> partition without reformatting it? When using HAL with KDE or
> Gnome Volume Manager to display icons of USB devices, it uses the
> volume name, if present, as the icon text, so it would be useful
> to be able to change this to give a more meaningful label.
man mlabel
$ qpkg -f `which mlabel`
sys-fs/mtools *
--
Peter
========================================================================
Gentoo Linux: Portage 2.0.51.22-r2. kernel-2.6.12-gentoo-r6.
i686 AMD Athlon(tm) XP 3200+. gcc(GCC): 3.3.5-20050130.
KDE: 3.4.2. Qt: 3.3.4.
========================================================================
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user] ReiserFS4
2005-08-02 21:15 ` Peter Ruskin
@ 2005-08-02 22:04 ` Ryan
2005-08-02 23:57 ` [gentoo-user] Changing volume name of a FAT partition Neil Bothwick
1 sibling, 0 replies; 5+ messages in thread
From: Ryan @ 2005-08-02 22:04 UTC (permalink / raw
To: gentoo-user
Does anyone know of or know where to get the limitations of ReiserFS4?
I've looked at the reiserFS4 and it does not list things such as Num. of
subdirs that a single dir can have, num. of files a single dir can have,
etc. I am looking for something like this: (only for ReiserFS4 instead
of ReiserFS)
Got this from: http://everything2.com/index.pl?node_id=510028
1. You can store a maximum of 4,294,967,296 files in a reiserfs
partition.
2. You can put no more than 2,147,483,648 files in a directory.
3. The maximum number of subdirectories inside a directory is 64.536.
4. The maximum file-size is 17.6 terabyte
<http://everything2.com/index.pl?node=terabyte>s on 32 bit
architectures.
5. You can have as much as 4,294,967,296 link
<http://everything2.com/index.pl?node=link>s to a file.
6. And finally your file system overall maximum size will be
4,294,967,296 x 4K blocks, i.e., 17.6 terabytes.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Changing volume name of a FAT partition
2005-08-02 21:15 ` Peter Ruskin
2005-08-02 22:04 ` [gentoo-user] ReiserFS4 Ryan
@ 2005-08-02 23:57 ` Neil Bothwick
1 sibling, 0 replies; 5+ messages in thread
From: Neil Bothwick @ 2005-08-02 23:57 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 260 bytes --]
On Tue, 2 Aug 2005 22:15:57 +0100, Peter Ruskin wrote:
> man mlabel
>
> $ qpkg -f `which mlabel`
> sys-fs/mtools *
Aha! I looked in dosfstools but didn't think of mtool. Thanks.
--
Neil Bothwick
Genius is 99% inspiration and 2% arithmetic
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-08-03 0:03 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-02 18:38 [gentoo-user] Changing volume name of a FAT partition Neil Bothwick
2005-08-02 19:23 ` Zac Medico
2005-08-02 21:15 ` Peter Ruskin
2005-08-02 22:04 ` [gentoo-user] ReiserFS4 Ryan
2005-08-02 23:57 ` [gentoo-user] Changing volume name of a FAT partition Neil Bothwick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox