Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.advocacy > #341803

Re: Linux Tmpfs Virtue

From owl <owl@rooftop.invalid>
Newsgroups comp.os.linux.advocacy
Subject Re: Linux Tmpfs Virtue
Date 2016-01-26 21:16 +0000
Organization O.W.L.
Message-ID <gjdkcmnb893.a3@rooftop.invalid> (permalink)
References (3 earlier) <n7ieu1$7cn$1@deskrabbit.motzarella.org> <ghsjd93.fjkd@rooftop.invalid> <n85eit$82p$2@dont-email.me> <ghjsoe03.ap2@rooftop.invalid> <n88g46$k5e$2@dont-email.me>

Show all headers | View raw


DFS <nospam@dfs.com> wrote:
> On 1/26/2016 10:54 AM, owl wrote:
>> DFS <nospam@dfs.com> wrote:
>>> On 1/19/2016 4:48 AM, owl wrote:
>>>> Desk Rabbit <me@example.com> wrote:
>>>>> On 13/01/2016 13:31, John Gohde wrote:
>>>>>> On Tuesday, January 5, 2016 at 6:51:01 AM UTC-5, Desk Rabbit wrote:
>>>>>>> On 04/01/2016 19:58, Vile Strong wrote:
>>>>>>>> One of the highly useful capabilities of the Linux OS is
>>>>>>>> the tmpfs, which is a temporary file system located entirely
>>>>>>>> in RAM.
>>>>>>>>
>>>>>>>> The user can invoke a tmpfs any time and of any size with
>>>>>>>> the command:
>>>>>>>>
>>>>>>>> mount -t tmpfs -o size=XG,mode=0777 tmpfs /mount-point
>>>>>>>>
>>>>>>>> A tmpfs can be used for a variety of purposes, such as the speedy
>>>>>>>> compile of a large program or a very quick "scratch" storage
>>>>>>>> for very large data processing.
>>>>>>>>
>>>>>>>> Does Microsoft Windows have this capability?
>>>>>>>>
>>>>>>>> FUCK NO!!!!
>>>>>>>>
>>>>>>>> That's another testament to the superiority of Linux over
>>>>>>>> Microsoft.
>>>>>>>>
>>>>>>>
>>>>>>> And of course, your given example doesn't work
>>>>>>>
>>>>>>> [root@mail ~]# mount -t tmpfs -o size=XG,mode=0777 tmpfs /mnt/tmpfs
>>>>>>> mount: wrong fs type, bad option, bad superblock on tmpfs,
>>>>>>>            missing codepage or helper program, or other error
>>>>>>>            (for several filesystems (e.g. nfs, cifs) you might
>>>>>>>            need a /sbin/mount.<type> helper program)
>>>>>>>            In some cases useful info is found in syslog - try
>>>>>>>            dmesg | tail  or so
>>>>>>>
>>>>>>>
>>>>>>> It's the size=XG that's wrong, you need to specify a number i.e. 1G for
>>>>>>> one gigabyte.
>>>>>>
>>>>>>
>>>>>> OR IF YOU HAD A BRAIN, rodent, the ue of an "X" script should have been self-explanatory.
>>>>>
>>>>> Oh do explain what an "X" script is in this context great Linux master.
>>>>>
>>>>> This should be good........
>>>>>
>>>>> :-)
>>>>>
>>>>
>>>> It can't possibly be as good as you running a command as root without
>>>> scrutinizing it first.  :)
>>>
>>> mount needs "scrutinizing"?
>>>
>>
>> You be the judge.
>>
>> root@lowtide:~# mount |grep sda1
>> /dev/sda1 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
>> /dev/sda1 on /mnt/blah type ext4 (rw,relatime,errors=remount-ro,data=ordered)
>> root@lowtide:~# cat /foo
>> cat: /foo: No such file or directory
>> root@lowtide:~# echo "nah" > /mnt/blah/foo
>> root@lowtide:~# cat /foo
>> nah
>> root@lowtide:~#
> 
> 
> geeekkkk!!!!
> 
> Plus, you pulled a twerp move and contrived a bogus mount scenario. 
> Back to the basement you go.
> 

Not bogus.  If the intent was to mount /dev/sdb1 under /mnt/blah,
not scrutinizing the mount command could lead to disaster. 
 

Back to comp.os.linux.advocacy | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Linux Tmpfs Virtue John Gohde <john.h.gohde@gmail.com> - 2016-01-13 05:31 -0800
  Re: Linux Tmpfs Virtue Desk Rabbit <me@example.com> - 2016-01-18 10:34 +0000
    Re: Linux Tmpfs Virtue owl <owl@rooftop.invalid> - 2016-01-19 09:48 +0000
      Re: Linux Tmpfs Virtue Desk Rabbit <me@example.com> - 2016-01-20 15:07 +0000
        Re: Linux Tmpfs Virtue owl <owl@rooftop.invalid> - 2016-01-20 19:23 +0000
          Re: Linux Tmpfs Virtue Desk Rabbit <me@example.com> - 2016-01-21 09:44 +0000
            Re: Linux Tmpfs Virtue owl <owl@rooftop.invalid> - 2016-01-21 10:48 +0000
              Re: Linux Tmpfs Virtue Desk Rabbit <me@example.com> - 2016-01-21 11:05 +0000
                Re: Linux Tmpfs Virtue owl <owl@rooftop.invalid> - 2016-01-21 13:11 +0000
                Re: Linux Tmpfs Virtue Desk Rabbit <me@example.com> - 2016-01-21 16:52 +0000
                Re: Linux Tmpfs Virtue owl <owl@rooftop.invalid> - 2016-01-21 18:30 +0000
                Re: Linux Tmpfs Virtue Desk Rabbit <me@example.com> - 2016-01-22 09:47 +0000
                Re: Linux Tmpfs Virtue Peter Köhlmann <peter-koehlmann@t-online.de> - 2016-01-22 14:11 +0100
                Re: Linux Tmpfs Virtue Slimer <.m@nsn.s> - 2016-01-22 12:59 -0500
                Re: Linux Tmpfs Virtue Peter Köhlmann <peter-koehlmann@t-online.de> - 2016-01-22 22:33 +0100
                Re: Linux Tmpfs Virtue GreyCloud <mist@cumulus.com> - 2016-01-22 15:22 -0700
                Re: Linux Tmpfs Virtue Slimer <.m@nsn.s> - 2016-01-23 09:34 -0500
                Re: Linux Tmpfs Virtue chrisv <chrisv@nospam.invalid> - 2016-01-25 07:19 -0600
                Re: Linux Tmpfs Virtue DFS <nospam@dfs.com> - 2016-01-25 08:59 -0500
                Re: Linux Tmpfs Virtue "Ezekiel" <zeke@nosuchemail.com> - 2016-01-25 10:22 -0500
                Re: Linux Tmpfs Virtue Desk Rabbit <me@example.com> - 2016-01-25 14:58 +0000
                Re: Linux Tmpfs Virtue "Ezekiel" <zeke@nosuchemail.com> - 2016-01-25 11:23 -0500
                Re: Linux Tmpfs Virtue Peter Köhlmann <peter-koehlmann@t-online.de> - 2016-01-25 18:38 +0100
                Re: Linux Tmpfs Virtue Slimer <.m@nsn.s> - 2016-01-25 12:52 -0500
                Re: Linux Tmpfs Virtue "Ezekiel" <zeke@nosuchemail.com> - 2016-01-25 16:58 -0500
                Re: Linux Tmpfs Virtue Slimer <.m@nsn.s> - 2016-01-25 17:35 -0500
                Re: Linux Tmpfs Virtue owl <owl@rooftop.invalid> - 2016-01-26 18:39 +0000
                Re: Linux Tmpfs Virtue Snit <usenet@gallopinginsanity.com> - 2016-03-22 11:35 -0700
      Re: Linux Tmpfs Virtue DFS <nospam@dfs.com> - 2016-01-25 10:24 -0500
        Re: Linux Tmpfs Virtue Desk Rabbit <me@example.com> - 2016-01-25 15:36 +0000
          Re: Linux Tmpfs Virtue DFS <nospam@dfs.com> - 2016-01-25 11:18 -0500
            Re: Linux Tmpfs Virtue owl <owl@rooftop.invalid> - 2016-01-26 15:58 +0000
          Re: Linux Tmpfs Virtue owl <owl@rooftop.invalid> - 2016-01-26 17:16 +0000
        Re: Linux Tmpfs Virtue owl <owl@rooftop.invalid> - 2016-01-26 15:54 +0000
          Re: Linux Tmpfs Virtue DFS <nospam@dfs.com> - 2016-01-26 14:09 -0500
            Re: Linux Tmpfs Virtue owl <owl@rooftop.invalid> - 2016-01-26 21:16 +0000
              Re: Linux Tmpfs Virtue Slimer <a.m@unseen.is.invalid> - 2016-01-26 17:17 -0500
                Re: Linux Tmpfs Virtue owl <owl@rooftop.invalid> - 2016-01-26 23:20 +0000
                Re: Linux Tmpfs Virtue GreyCloud <mist@cumulus.com> - 2016-01-27 12:11 -0700
                Re: Linux Tmpfs Virtue owl <owl@rooftop.invalid> - 2016-01-27 21:26 +0000

csiph-web