Re: [SLE] partition labels
- From: Per Jessen <per@xxxxxxxxxxxx>
- Date: Thu, 26 Jan 2006 16:48:09 +0100
Carlos E. R. wrote:
>> Carlos, try e2label. I did some googling - mostly because I didn't
>> really know anything about partition labelling - and labelling seems
>> to be tied into ext2/3 somehow?
>
> I know, that's what I use to create them on ext2/3 parts. But not on
> xfs, nor on reiserfs. Fortunately, yast does that fine.
Hmm, I wonder how it's done for other filesystems.
> What I wanted was a simple way to list all labels later. I use labels
> because in fstab I list labels instead of devices: this way, if I
> insert o remove a part., or move the disk, I don't have to edit fstab.
Yes, I'm beginning to understand the advantage. Well, how about
something like this:
while read maj min blks name rest
do
e2label /dev/$name
done < /proc/partitions
OK, you need to skip to two header lines, but I'm sure you can write a
fairly simple script starting with the above.
/Per Jessen, Zürich
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx
- Follow-Ups:
- Re: [SLE] partition labels
- From: Carlos E. R.
- Re: [SLE] partition labels
- References:
- [SLE] partition labels
- From: Carlos E. R.
- Re: [SLE] partition labels
- From: Per Jessen
- Re: [SLE] partition labels
- From: Pim Dennendal
- Re: [SLE] partition labels
- From: Carlos E. R.
- Re: [SLE] partition labels
- From: Patrick Shanahan
- Re: [SLE] partition labels
- From: Carlos E. R.
- Re: [SLE] partition labels
- From: Ken Schneider
- Re: [SLE] partition labels
- From: Carlos E. R.
- Re: [SLE] partition labels
- From: Per Jessen
- Re: [SLE] partition labels
- From: Carlos E. R.
- [SLE] partition labels
- Prev by Date: Re: [SLE] usbdevfs needed for Microtek scanner install/setup???
- Next by Date: Re: [SLE] usbdevfs needed for Microtek scanner install/setup???
- Previous by thread: Re: [SLE] partition labels
- Next by thread: Re: [SLE] partition labels
- Index(es):
Relevant Pages
|