| To: | Adam Cioccarelli <alciocca@xxxxxxxxxx> |
|---|---|
| Subject: | Re: growfs and mount options |
| From: | Eric Sandeen <sandeen@xxxxxxx> |
| Date: | Sun, 15 Jul 2001 19:06:02 -0500 |
| Cc: | linux-xfs@xxxxxxxxxxx |
| References: | <Pine.LNX.4.33.0107151256270.24689-100000@vie-ac.office.ecetra.com> |
| Sender: | owner-linux-xfs@xxxxxxxxxxx |
Adam Cioccarelli wrote:
> To cut a long story short it would only work if I put
> logdev= last in the mount options.
This seems to fix it; the code was parsing the mount options looking for
" " as a delimiter, I added a comma and things seem happy again.
--- xfs_growfs.c.orig Sun Jul 15 19:03:57 2001
+++ xfs_growfs.c Sun Jul 15 19:04:24 2001
@@ -137,11 +137,11 @@
datadev = mnt->mnt_fsname;
if ((logdev = hasmntopt(mnt, "logdev="))) {
logdev += 7;
- logend = strtok(logdev, " ");
+ logend = strtok(logdev, " ,");
}
if ((rtdev = hasmntopt(mnt, "rtdev="))) {
rtdev += 6;
- rtend = strtok(rtdev, " ");
+ rtend = strtok(rtdev, " ,");
}
/* Do this only after we've finished processing mount options */
--
Eric Sandeen XFS for Linux http://oss.sgi.com/projects/xfs
sandeen@xxxxxxx SGI, Inc.
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | mounting XFS fails, Gerwin Brill |
|---|---|
| Next by Date: | Re: [SLIGHTLY OT] XFS ACL support in Samba, Federico Sevilla III |
| Previous by Thread: | Re: growfs and mount options, Eric Sandeen |
| Next by Thread: | Last version of XFS, Eugeny Balakhonov |
| Indexes: | [Date] [Thread] [Top] [All Lists] |