All of lore.kernel.org
 help / color / mirror / Atom feed
* Multiple profiles
@ 2002-06-27  9:30 Gregory Giguashvili
  2002-06-27  9:39 ` David Schwartz
  0 siblings, 1 reply; 9+ messages in thread
From: Gregory Giguashvili @ 2002-06-27  9:30 UTC (permalink / raw)
  To: Linux Kernel (E-mail)

Hello,

I wonder if somebody is familiar with the way to create multiple hardware
configurations (profiles) on Linux? This is required, for instance, when
booting laptop not connected to the network.

Thanks in advance,
Giga
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Gregory Giguashvili
Senior Software Engineer
Email: gregoryg@ParadigmGeo.com
Tel: 972-9-9709379 Fax: 972-3-9709337
Paradigm Geophysical Ltd.
http://www.math.tau.ac.il/~gregoryg



^ permalink raw reply	[flat|nested] 9+ messages in thread
* RE: Multiple profiles
@ 2002-06-27 13:10 Jesse Pollard
  0 siblings, 0 replies; 9+ messages in thread
From: Jesse Pollard @ 2002-06-27 13:10 UTC (permalink / raw)
  To: Gregoryg, Linux Kernel (E-mail)

---------  Received message begins Here  ---------

> 
> >I wonder if somebody is familiar with the way to create 
> >multiple hardware configurations (profiles) on Linux? 
> 
> Sorry for not being clear enough. I got several replies saying that this is
> not a kernel list question, I suppose because of the example with the
> network. In reality, this problem is much broader...
> 
> One might think of external devices (tapes, scaners, disks, etc.) constanly
> being moved from machine to machine. I understand I can twist /etc/init.d/*
> to support all the configurations. However, I don't see a reason why it
> cannot be the responsibility of Linux kernel to "see" different hardware
> configurations on boot.

Now you got specific.

Most tapes/scanners/disks that are removable/detachable are using the USB.

If that is the case, then yes - they can be handled automatically.

You do have to setup the USB daemon and drivers. Once configured they should
be connected automatically. Depending on the type of disk (hard disk,
filesystem type, access authorizations) you run into additional complications.

Not everything SHOULD be automatically done. For instance - overriding
authorizations on a disk drive can allow a workstation user to violate the
security policy established for the disk drive. The same can be said for
a tape or floppy. Such policies are NOT implementable inside the kernel
(at least not portably).

This is one reason an automatic mount is not necessarily valid. That policy
cannot be supported (or even identified) by the kernel.

Scanners and printers however, are more policy neutral - they don't inherently
store data that is policy controlled. At least not in the US. These devices
are usually immediately available after connection. (Though I'm still working
on getting my HP G55 scanner/printer working - it is recognized by the USB
subsystem as soon as it is attached).

I believe in other countries scanners are required to be able to label the data
being scanned and/or printed to identify the source of the data (doesn't prevent
tampering, but it is still a policy).

> >From the replies I got, I understand that Linux kernel doesn't provide such
> functionality. That's all I wanted to know.


-------------------------------------------------------------------------
Jesse I Pollard, II
Email: pollard@navo.hpc.mil

Any opinions expressed are solely my own.

^ permalink raw reply	[flat|nested] 9+ messages in thread
* RE: Multiple profiles
@ 2002-06-27 13:19 Gregory Giguashvili
  2002-07-04 13:28 ` Brad Hards
  0 siblings, 1 reply; 9+ messages in thread
From: Gregory Giguashvili @ 2002-06-27 13:19 UTC (permalink / raw)
  To: Linux Kernel (E-mail)

>I wonder if somebody is familiar with the way to create 
>multiple hardware configurations (profiles) on Linux? 

Sorry for not being clear enough. I got several replies saying that this is
not a kernel list question, I suppose because of the example with the
network. In reality, this problem is much broader...

One might think of external devices (tapes, scaners, disks, etc.) constanly
being moved from machine to machine. I understand I can twist /etc/init.d/*
to support all the configurations. However, I don't see a reason why it
cannot be the responsibility of Linux kernel to "see" different hardware
configurations on boot.

>From the replies I got, I understand that Linux kernel doesn't provide such
functionality. That's all I wanted to know.

Best,
Giga
P.S. BTW, I needed this for RH distribution.

^ permalink raw reply	[flat|nested] 9+ messages in thread
* RE: Multiple profiles
@ 2002-06-27 14:30 Gregory Giguashvili
  0 siblings, 0 replies; 9+ messages in thread
From: Gregory Giguashvili @ 2002-06-27 14:30 UTC (permalink / raw)
  To: 'Jesse Pollard', Linux Kernel (E-mail)

>Most tapes/scanners/disks that are removable/detachable are 
>using the USB.
And what about non-removable non-USB devices? I understand I need to use
runlevels to achieve the goal...

Thanks,
Giga

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2002-07-04 13:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-27  9:30 Multiple profiles Gregory Giguashvili
2002-06-27  9:39 ` David Schwartz
2002-06-27 12:22   ` Oliver.Neukum
2002-06-27 18:53     ` David Schwartz
2002-06-27 19:19       ` Richard B. Johnson
  -- strict thread matches above, loose matches on Subject: below --
2002-06-27 13:10 Jesse Pollard
2002-06-27 13:19 Gregory Giguashvili
2002-07-04 13:28 ` Brad Hards
2002-06-27 14:30 Gregory Giguashvili

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.