[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#460824: Bug#457901: Installation report - HP pavillion 2585ep



On Tuesday 11 March 2008, Frans Pop wrote:
> I used 2097152 because that is the value Colin had. However, MS_SILENT is
> defined as a single bit (2^15), but MS_RELATIME is two bits: 2^21 + 2^1.

Never mind. Guess it shows that this kind of bit banging is not something I 
ever learned. (1 << 21) == 2097152, so here is a corrected patch for 1.9.1.

Cheers,
FJP

diff -ru tmp/busybox/util-linux/mount.c busybox-1.9.1/util-linux/mount.c
--- tmp/busybox/util-linux/mount.c	2008-02-12 17:03:13.000000000 +0100
+++ busybox-1.9.1/util-linux/mount.c	2008-03-11 15:10:12.000000000 +0100
@@ -33,6 +33,9 @@
 #ifndef MS_SILENT
 #define MS_SILENT	(1 << 15)
 #endif
+#ifndef MS_RELATIME
+#define MS_RELATIME	(1 << 21)
+#endif
 
 #if defined(__dietlibc__)
 /* 16.12.2006, Sampo Kellomaki (sampo@iki.fi)
@@ -97,6 +100,8 @@
 		/* "noatime"     */ MS_NOATIME,
 		/* "diratime"    */ ~MS_NODIRATIME,
 		/* "nodiratime"  */ MS_NODIRATIME,
+		/* "relatime"    */ MS_RELATIME,
+		/* "norelatime"  */ ~MS_RELATIME,
 		/* "loud"        */ ~MS_SILENT,
 
 		// action flags
@@ -145,6 +150,8 @@
 		"noatime" "\0"
 		"diratime" "\0"
 		"nodiratime" "\0"
+		"relatime" "\0"
+		"norelatime" "\0"
 		"loud" "\0"
 
 		// action flags

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: