On Sun, Apr 28, 2002 at 03:14:06PM +0300, Gilad Ben-Yossef wrote:
> On Sun, 2002-04-28 at 15:09, Gilad Ben-Yossef wrote:
> > On Sun, 2002-04-28 at 13:57, Muli Ben-Yehuda wrote:
> > 
> > > ObLinuxTriviaQ: Using one standard unix command, hide a all of the
> > > files in a single user's home directory, so that they will be totally
> > > inaccessible until the admin decides otherwise. Answers on or off
> > > list, as you wish. 
> > 
> > mount -t ext3 /dev/hda1 /home/luser
> > for random but apropriate values of ext3, hda1 and luser.
> 
> hm... I've just realised that for this to work. /dev/hda1 needs to
> contain some random file system, but NOT the one that is mount at /home
> 
> Bugger, and I thought I was being smart... ;-)

Under linux 2.4,
mount -t tmpfs -o size=1k somerandomstring /home/luser

(BTW, tmpfs is working quite well for me for some months on tens of
machines. The only real problem I had (which is also documented) is
that you can't 'mount -o loop' files on it).

> 
> There must be a better way.
> 
>  
> -- 
> Gilad Ben-Yossef <[EMAIL PROTECTED]>
> Code mangler, senior coffee drinker and VP SIGSEGV
> Qlusters ltd.
> 
> "To err is human. To realy fsck up you need a computer. For
>  those really large scale disastears, an SSI cluster is a must."
> 
> 
> 
> 
> 
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]

        Didi


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to