On Sunday 13 January 2002 4:57 am, USM Bish wrote:
> On Sat, Jan 12, 2002 at 11:32:00PM -0500, chandrasekar wrote:
> > How do I rename a hdd partition which is already mounted ?
> > Cud anyone give the details of it.
>
> ---end quoted text---
>
> HDD partitions are not user nameable. They are recognised as
> /dev/hdxN (where x is  a,b,c etc and N is a  number).  These
> are picked up by the kernel and cannot be even named, forget
> renamed.

This is, of course, wrong. HDD partitions, like most other things in Linux,
are renamable.  What matters are the major/minor numbers for devices in
linux (which are assigned by the kernel developers - and are
registered/documented in Documentation/devices.txt). Try this as root

mknod /tmp/mypersonalharddisk b 3 0
fdisk -l /tmp/mypersonalharddisk

(Assuming you indeed have a primary master HDD)

Or:

mknod /tmp/slashusrpartition b 3 6
mount -t ext2 /tmp/slashusrpartition /usr

(Assuming you, like me, keep /usr on /dev/hda6 normally. You need to mount
/tmp earlier if you keep that on a separate partition.).

Anyway, IMO, the OP is looking for changing mount point name. That
can be done by editing /etc/fstab (be careful, though).

Binand

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to