Re: Why is the rewritten ramdisk driver called brd instad of rd

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nick Piggin
Date: Wednesday, June 4, 2008 - 8:18 am

On Tue, Jun 03, 2008 at 01:09:55PM +0200, Jan Engelhardt wrote:

Couldn't hurt... shall we merge this, then?


Alias brd to rd in the hope of helping legacy users. Suggested by Jan.

Signed-off-by: Nick Piggin <npiggin@suse.de>
---
Index: linux-2.6/drivers/block/brd.c
===================================================================
--- linux-2.6.orig/drivers/block/brd.c	2008-06-05 00:51:53.000000000 +1000
+++ linux-2.6/drivers/block/brd.c	2008-06-05 00:52:43.000000000 +1000
@@ -397,6 +397,7 @@ module_param(max_part, int, 0);
 MODULE_PARM_DESC(max_part, "Maximum number of partitions per RAM disk");
 MODULE_LICENSE("GPL");
 MODULE_ALIAS_BLOCKDEV_MAJOR(RAMDISK_MAJOR);
+MODULE_ALIAS("rd");
 
 #ifndef MODULE
 /* Legacy boot options - nonmodular */
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Why is the rewritten ramdisk driver called brd instad of rd, Christoph Hellwig, (Fri Mar 21, 6:05 am)
Re: Why is the rewritten ramdisk driver called brd instad ..., Nick Piggin, (Wed Jun 4, 8:18 am)