lkml.org 
[lkml]   [1998]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Subject/dev/one - why not /dev/repeat?
> From: Steffen Grunewald <steffen@gfz-potsdam.de>
> Date: Tue, 22 Dec 1998 19:39:31 +0100 (MET)
> Subject: Re: Wanted: Secure-delete utility for Linux
>
> Charles Cazabon wrote:
> |>
> |> >> Hmmm I guess we need a /dev/one? (Actually not a bad thing to have)
> |> >
> |> Hmmm -- something like /dev/~zero would work, if you can stand non-
> |> alphanumeric characters in your filenames.
> (t)csh people won't like this (bash also uses ~ for $HOME, ~zero for
> user zero's HOME...).
> How about /dev/minusone :-) ?
> Or /dev/allones ...
>
> Steffen
>
Are there advantages in having something like /dev/repeat?

echo -n "echo this" > /dev/repeat
cat /dev/repeat
echo thisecho thisecho thisecho this

echo "echo this now" > /dev/repeat
cat /dev/repeat
echo this now
echo this now
echo this now
echo this now
etc.

Then everyone that needed some repeating pattern could just get that pattern.
Would this be workable, or are there problems in multi-user setups?

Ah well, I'm not a kernel-hacker, but I just think this is the logical conclusion here.....
Greetings,
Jurriaan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:46    [from the cache]
©2003-2011 Jasper Spaans