From: Jeff Liu <jeff.liu@oracle.com>
To: Matthias Schniedermeyer <ms@citd.de>
Cc: xfs@oss.sgi.com
Subject: Re: Changing label of a mounted XFS filesystem
Date: Thu, 03 Jul 2014 20:07:21 +0800 [thread overview]
Message-ID: <53B54779.40108@oracle.com> (raw)
In-Reply-To: <20140703112911.GA9806@citd.de>
Hi,
On 07/03/2014 07:29 PM, Matthias Schniedermeyer wrote:
> Hi
>
>
> Is there a particular reason that the label of a mounted XFS fileystem
> can't be changed?
Maybe since we have no user request for this function? :)
> The man-page of xfs_admin gives a blanket "Devices that are mounted
> cannot be modified" but no explanation for why that is.
>
> In my case it's the label of the root-filesystem i want to change. So to
> change it i would have to boot the computer with some kind of live or
> rescure-system. Or i would need to temporarily connect the device to
> another computer, both aren't really nice hoops to jump through just to
> change a few characters.
>
> The only thing i can compare this to is ext2 and with ext2 (/boot
> partition, so it really is ext2) i can change the label to my hearts
> content, even the device is mounted.
>
> For my case i could live with it if i could remount the filesystem RO,
> change the label and then having to reboot the machine, still nicer than
> the other 2 options.
Btrfs support set/change label on a mounted file system via ioctl(2), maybe we
can implement it if that sounds useful to our users.
Cheers,
-Jeff
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2014-07-03 12:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-03 11:29 Changing label of a mounted XFS filesystem Matthias Schniedermeyer
2014-07-03 12:07 ` Jeff Liu [this message]
2014-07-03 14:14 ` Matthias Schniedermeyer
2014-07-03 23:12 ` Dave Chinner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53B54779.40108@oracle.com \
--to=jeff.liu@oracle.com \
--cc=ms@citd.de \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox