FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Cluster Development

 
 
LinkBack Thread Tools
 
Old 01-21-2008, 01:37 PM
 
Default cluster/gfs2/mount umount.gfs2.c

CVSROOT: /cvs/cluster
Module name: cluster
Changes by: fabbione@sourceware.org 2008-01-21 14:37:56

Modified files:
gfs2/mount : umount.gfs2.c

Log message:
Add fake support for -r option at umount so we don't fail if gfs2 is not umounted
by it's init script.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/mount/umount.gfs2.c.diff?cvsroot=cluster&r1=1.15&r2=1.16

--- cluster/gfs2/mount/umount.gfs2.c 2007/08/22 08:58:46 1.15
+++ cluster/gfs2/mount/umount.gfs2.c 2008/01/21 14:37:56 1.16
@@ -52,7 +52,7 @@
/* FIXME: check for "quiet" option and don't print in that case */

while (cont) {
- optchar = getopt(argc, argv, "fhVvX:");
+ optchar = getopt(argc, argv, "fhVvX:r");

switch (optchar) {
case EOF:
@@ -79,6 +79,9 @@
print_version();
exit(EXIT_SUCCESS);

+ case 'r':
+ break; /* used by umount to remount ro if umount fails */
+
default:
break;
}
 

Thread Tools




All times are GMT. The time now is 06:34 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org