Renaming a mount point

Matthew Flaschen matthew.flaschen at
Sun Mar 25 01:39:42 UTC 2007

Chris wrote:
> Question -
> 	Now that I added a new drive, mounted as /mp3 - what if I wish to
> rename the mount point to something like /music (being that no mp3
> really live there - nothing but oggs really).


> 	How do I go about that without loosing data?

1. sudo mkdir /music
2. sudo umount /mp3
3. sudoedit /etc/fstab

Replace mp3 with music
4. sudo mount /music

Now, this may confuse up your music library metadata (e.g. ratings), but
you won't lose anything on the drive.

For more information, try man mount, man umount, man fstab .

Matt Flaschen

More information about the ubuntu-users mailing list