Re: Is linux support second hardware profile?
On Wed, 15 Sep 2004 13:33:09 +0300, Dragonfly wrote:
>> I want to know if any solution that can let me create
>> second hardware profile in RH Linux 9 server because I want to use mobile
>> hard disk between two PCs. Any suggestion will be good.
>> thanks!
>
> All initialization of hardware under Linux is doing by the "init" daemon. It
> uses /etc/inittab file and /etc/init.d/ folder for startup scripts. So, this
> files differs between systems with different hardware configurations.
>
> As I know, the one solution to do you want is to keep two different versions
> of these files. More elegant way is to write a second version of init
> daemon, that will use other init files and specify it in the boot loader by
> the init=/bin/init_2, for example, but this needs a some C programming exp.
If you have a removable harddrive simply mount it and umount it as you
need to. I do not see any reason for worrying about hardware profiles or
diddling around with init scripts. Just set it noauto in /etc/fstab
|