List Info

Thread: Labels and mounting problems




Labels and mounting problems
user name
2006-12-25 19:00:06
Is there a place where you can see the actual labels set up,
not just in
the fstab; and is there a way to get rid of no longer needed
labels?

Larry

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-requestredhat.com?subject=unsubscribe
h
ttps://www.redhat.com/mailman/listinfo/redhat-list
Labels and mounting problems
user name
2006-12-25 20:15:58
Larry D Sorensen írta:

> Is there a place where you can see the actual labels
set up, not just in
> the fstab; and is there a way to get rid of no longer
needed labels?

Try blkid:

[rootsilver ~]# blkid
/dev/hda1: TYPE="ntfs"
/dev/sda1: LABEL="/boot"
UUID="0f5bc258-dec2-4a66-8845-ec4263a2fb13"
SEC_TYPE="ext2" TYPE="ext3"
" UUID="c79b72d4-26a1-468f-9d29-9c5423d8a493"
/dev/sda3: LABEL="/"
UUID="c534acac-14d3-4c8b-8921-3692b058644c"
SEC_TYPE="ext2" TYPE="ext3"
/dev/hdb1: LABEL="/opt"
UUID="d44c4bd9-64d2-494c-ba2f-f1ba0ca38d0b"
SEC_TYPE="ext2" TYPE="ext3"
/dev/hda2: TYPE="ntfs"
/dev/hdc: TYPE="iso9660"
/dev/cdrom: TYPE="iso9660"
/dev/dm-1: TYPE="swap"
/dev/dm-0:
UUID="6e6c3d45-0028-405c-9d0b-97c5310d00a4"
SEC_TYPE="ext2"
TYPE="ext3"
/dev/otthon/root:
UUID="6e6c3d45-0028-405c-9d0b-97c5310d00a4"
SEC_TYPE="ext2" TYPE="ext3"

-- 
BÉRES László	 RHCE, RHCX
senior IT engineer, trainer

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-requestredhat.com?subject=unsubscribe
h
ttps://www.redhat.com/mailman/listinfo/redhat-list
Labels and mounting problems
user name
2006-12-26 01:17:23
On 12/25/06, Larry D Sorensen <larry.sorensenjuno.com> wrote:
> Is there a place where you can see the actual labels
set up, not just in
> the fstab; and is there a way to get rid of no longer
needed labels?

For an individual partition, you can grep for
"^Filesystem volume"
from the output of dumpe2fs <partition>, e.g.:

# dumpe2fs /dev/hdc6|grep ^Filesystem volume
dumpe2fs 1.39 (29-May-2006)
Filesystem volume name:   <none>

(There is no label set on this filesystem).

Use the "-L" option to tune2fs to set volume
labels.

-- 
Jeremy L. Gaddis, MCP, GCWN
http://www.linuxwiz.net/

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-requestredhat.com?subject=unsubscribe
h
ttps://www.redhat.com/mailman/listinfo/redhat-list
Labels and mounting problems
user name
2006-12-26 01:18:48
On 12/25/06, BERES Laszlo <beres.laszlosys-admin.hu> wrote:
> > Is there a place where you can see the actual
labels set up, not just in
> > the fstab; and is there a way to get rid of no
longer needed labels?
>
> Try blkid:

[snip]

Ahh, thanks, I wasn't aware of "blkid".  Even
after all these years,
one can still learn something new everyday.  =)

-- 
Jeremy L. Gaddis, MCP, GCWN
http://www.linuxwiz.net/

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-requestredhat.com?subject=unsubscribe
h
ttps://www.redhat.com/mailman/listinfo/redhat-list
Labels and mounting problems
user name
2006-12-26 04:01:25
Gaddis, Jeremy L. wrote:
> On 12/25/06, BERES Laszlo <beres.laszlosys-admin.hu> wrote:
>> > Is there a place where you can see the actual
labels set up, not
>> just in
>> > the fstab; and is there a way to get rid of no
longer needed labels?
>>
>> Try blkid:
> 
> [snip]
> 
> Ahh, thanks, I wasn't aware of "blkid".  Even
after all these years,
> one can still learn something new everyday.  =)

Hmmm...  Seems that some of my posts somehow don't get to
the mailing
list...  Strange.

Anyhow, as I attempted to contribute in my original reply
(that seems to
be silently discarded by the list for whatever reason),
there's e2label
command.  It can read and write label onto device.  Just
give it device
name as argument (for example e2label /dev/hda).  If you
want to write
label, give it as second argument (e2label /dev/hda
something).  You can
use empty argument to get rid of the label (e2label /dev/hda
"").

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-requestredhat.com?subject=unsubscribe
h
ttps://www.redhat.com/mailman/listinfo/redhat-list
[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )