From: Yiannis Mavroukakis <jander@darthvader.us>
Cc: reiserfs-list@namesys.com
Subject: Re: Could reiserfsprogs display volume labels when doing fsck upon boot?
Date: Sat, 15 Oct 2005 13:19:20 +0100 [thread overview]
Message-ID: <4350F3C8.3070600@darthvader.us> (raw)
In-Reply-To: <200510141620.28514.vitaly@namesys.com>
Vitaly Fertman wrote:
>On Friday 14 October 2005 16:07, Raymond A. Meijer wrote:
>
>
>>On Friday 14 October 2005 15:07, Vitaly Fertman wrote:
>>
>>[...]
>>
>>
>>
>>>ok, I will add it.
>>>
>>>
>>Vitaly, is it possible to add labels to Reiser4 filesystems AFTER mkfs,
>>or only during mkfs?
>>
>>
>
>only on mkfs time for now.
>
>
>
For reiser4, would this do it?
in function *reiser4_master_open(aal_device_t *device) in
libreiser4/master.c
/* Reiser4 master super block is not found on the device. */
if (aal_strncmp(SUPER(master)->ms_magic, REISER4_MASTER_MAGIC,
sizeof(REISER4_MASTER_MAGIC)) != 0)
{
aal_fatal("Wrong magic found in the master "
"super block.");
goto error_free_master;
}
/* Print volume label */
aal_mess(reiser4_master_get_label(master));
return master;
error_free_master:
aal_free(master);
return NULL;
Stab in the dark :P
next prev parent reply other threads:[~2005-10-15 12:19 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-14 9:40 Could reiserfsprogs display volume labels when doing fsck upon boot? Wiktor Wandachowicz
2005-10-14 10:09 ` Raymond A. Meijer
2005-10-14 10:13 ` Raymond A. Meijer
2005-10-14 10:30 ` jp.guillemin
2005-10-14 10:57 ` Wiktor Wandachowicz
2005-10-14 11:32 ` Yiannis Mavroukakis
2005-10-14 12:07 ` Vitaly Fertman
2005-10-14 12:07 ` Raymond A. Meijer
2005-10-14 12:20 ` Vitaly Fertman
2005-10-15 12:19 ` Yiannis Mavroukakis [this message]
2005-10-17 10:03 ` Vitaly Fertman
2005-10-17 10:21 ` Yiannis Mavroukakis
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=4350F3C8.3070600@darthvader.us \
--to=jander@darthvader.us \
--cc=reiserfs-list@namesys.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.