Home
Workboot General Questions
Work Boot Brands Questions
Safety Work Boot Questions
Construction Jobs By Location
Jobs In Construction Questions
Construction Employment Questions
Hardhat General Questions
Site Map
 
 
   
Work Boot Store, Relabel partition didn't work

Question:
I want to change the name and access point of a partition on my second hd. It's labeled /xyz now (coz I could think of no better name when installing etch). I tried this:

e2label /dev/hdb4 xyz

e2label /dev/hdb4 store

e2label /dev/hdb4 store

So seemingly the label has changed.


Answer:
What in the world is e2label? It doesn't show up in my search. What is it today, national "People from other distros" day?

Changing the entry in fstab should be enough, but you do need to create the mountpoint for it.

mkdir /store in your case, but I would strongly suggest that you stick to POSIX names and mount it to /mnt/store instead, or perhaps /media/store

You're confusing disk lables with mount points. Your fstab doesn't have disklables in it. You told mount to mount /dev/hdb4 on /store, so it looks for the directory /store, which doesn't exist.

Novell's Directory Services is a competitive product to Microsoft's Active Directory in much the same way that the Saturn V is a competitive product to those dinky little model rockets that kids light off down at the playfield.

a partition lable and a mount point are two totally unrelated things, almost. Almost because there is a way (I don't do it, so I'll be vague) to use disk lables in fstab to refer to partitions instead of using device names (e.g. /dev/hda1). This is useful on USB and SATA drives that all show up as /dev/sd*, but the actual name for any given drive can change depending on what other drives are connected (e.g. USB sticks) during boot.

If this doesn't apply to you, then you can forget lables. Also, not all filesystems allow you to relabel.

Your existing fstab (the one that mounts the drive on /xyz) points to a mount point /xyz.

# unmount /xyz

Just change the mount point in fstab to read /store.

Rename the mount point

# mv /xyz /store

And mount it.

# mount /store








What is Your answer?


 
| Home | Workboot General Questions | Work Boot Brands Questions | Safety Work Boot Questions | Construction Jobs By Location | Jobs In Construction Questions | Construction Employment Questions | Hardhat General Questions | Site Map |
Privacy Policy