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


Groups > comp.os.linux.hardware > #2941 > unrolled thread

Writing to old school 3.5" floppy disk(ette)s...

Started byANTant@zimage.com (Ant)
First post2015-12-29 01:54 -0600
Last post2016-02-05 03:19 +0000
Articles 20 on this page of 47 — 16 participants

Back to article view | Back to comp.os.linux.hardware


Contents

  Writing to old school 3.5" floppy disk(ette)s... ANTant@zimage.com (Ant) - 2015-12-29 01:54 -0600
    Re: Writing to old school 3.5" floppy disk(ette)s... Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2015-12-29 09:36 +0100
      Re: Writing to old school 3.5" floppy disk(ette)s... ANTant@zimage.com (Ant) - 2015-12-29 13:45 -0600
        Re: Writing to old school 3.5" floppy disk(ette)s... mm0fmf <none@mailinator.com> - 2015-12-29 19:50 +0000
          Re: Writing to old school 3.5" floppy disk(ette)s... ANTant@zimage.com (Ant) - 2015-12-29 13:53 -0600
            Re: Writing to old school 3.5" floppy disk(ette)s... Bobbie Sellers <bliss-sf4ever@dslextreme.com> - 2015-12-29 13:47 -0800
              Re: Writing to old school 3.5" floppy disk(ette)s... Mark Carroll <mtbc@ixod.org> - 2015-12-29 22:00 +0000
              Re: Writing to old school 3.5" floppy disk(ette)s... Bobbie Sellers <bliss-sf4ever@dslextreme.com> - 2015-12-29 14:39 -0800
                Re: Writing to old school 3.5" floppy disk(ette)s... ANTant@zimage.com (Ant) - 2015-12-31 03:19 -0600
    Re: Writing to old school 3.5" floppy disk(ette)s... Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2015-12-29 10:46 +0200
      Re: Writing to old school 3.5" floppy disk(ette)s... Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2015-12-29 10:37 +0100
        Re: Writing to old school 3.5" floppy disk(ette)s... ANTant@zimage.com (Ant) - 2015-12-29 13:50 -0600
          Re: Writing to old school 3.5" floppy disk(ette)s... Richard Kettlewell <rjk@greenend.org.uk> - 2015-12-29 22:13 +0000
            Re: Writing to old school 3.5" floppy disk(ette)s... The Natural Philosopher <tnp@invalid.invalid> - 2015-12-30 00:36 +0000
            Re: Writing to old school 3.5" floppy disk(ette)s... philo <philo@privacy.net> - 2016-01-11 06:55 -0600
              Re: Writing to old school 3.5" floppy disk(ette)s... The Natural Philosopher <tnp@invalid.invalid> - 2016-01-11 13:02 +0000
              Re: Writing to old school 3.5" floppy disk(ette)s... Ant <ant@zimage.comANT> - 2016-01-16 19:13 -0800
      Re: Writing to old school 3.5" floppy disk(ette)s... ANTant@zimage.com (Ant) - 2015-12-29 13:46 -0600
    Re: Writing to old school 3.5" floppy disk(ette)s... Wildman <best_lay@yahoo.com> - 2015-12-29 15:28 -0600
      Re: Writing to old school 3.5" floppy disk(ette)s... ANTant@zimage.com (Ant) - 2015-12-30 05:05 -0600
        Re: Writing to old school 3.5" floppy disk(ette)s... Robert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid> - 2015-12-31 08:57 -0600
          Re: Writing to old school 3.5" floppy disk(ette)s... ANTant@zimage.com (Ant) - 2015-12-31 16:32 -0600
            Re: Writing to old school 3.5" floppy disk(ette)s... Robert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid> - 2015-12-31 20:01 -0600
              Re: Writing to old school 3.5" floppy disk(ette)s... Robert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid> - 2015-12-31 20:13 -0600
              Re: Writing to old school 3.5" floppy disk(ette)s... ANTant@zimage.com (Ant) - 2015-12-31 23:08 -0600
              Re: Writing to old school 3.5" floppy disk(ette)s... The Natural Philosopher <tnp@invalid.invalid> - 2016-01-01 09:26 +0000
                Re: Writing to old school 3.5" floppy disk(ette)s... Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2016-01-01 11:29 +0100
    Re: Writing to old school 3.5" floppy disk(ette)s... Michael Black <et472@ncf.ca> - 2015-12-29 19:29 -0500
      Re: Writing to old school 3.5" floppy disk(ette)s... Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2015-12-30 10:03 +0100
    Re: Writing to old school 3.5" floppy disk(ette)s... "Ralf S. Hellersen" <schneiderxr@arcor.de> - 2016-01-01 17:31 +0000
      Re: Writing to old school 3.5" floppy disk(ette)s... ANTant@zimage.com (Ant) - 2016-01-01 12:58 -0600
        Re: Writing to old school 3.5" floppy disk(ette)s... Bobbie Sellers <bliss-sf4ever@dslextreme.com> - 2016-01-01 11:37 -0800
        Re: Writing to old school 3.5" floppy disk(ette)s... "Ralf S. Hellersen" <schneiderxr@arcor.de> - 2016-01-02 18:51 +0000
          Re: Writing to old school 3.5" floppy disk(ette)s... ANTant@zimage.com (Ant) - 2016-01-02 18:38 -0600
            Re: Writing to old school 3.5" floppy disk(ette)s... J G Miller <miller@yoyo.ORG> - 2016-01-03 02:17 +0000
              Re: Writing to old school 3.5" floppy disk(ette)s... ANTant@zimage.com (Ant) - 2016-01-02 23:22 -0600
                Re: Writing to old school 3.5" floppy disk(ette)s... Wildman <best_lay@yahoo.com> - 2016-01-02 23:41 -0600
                  Re: Writing to old school 3.5" floppy disk(ette)s... ANTant@zimage.com (Ant) - 2016-01-03 12:17 -0600
                    Re: Writing to old school 3.5" floppy disk(ette)s... Wildman <best_lay@yahoo.com> - 2016-01-03 13:07 -0600
                      Re: Writing to old school 3.5" floppy disk(ette)s... ANTant@zimage.com (Ant) - 2016-01-03 19:01 -0600
                        Re: Writing to old school 3.5" floppy disk(ette)s... Wildman <best_lay@yahoo.com> - 2016-01-04 00:20 -0600
                          Re: Writing to old school 3.5" floppy disk(ette)s... ANTant@zimage.com (Ant) - 2016-01-04 04:24 -0600
    Re: Writing to old school 3.5" floppy disk(ette)s... ANTant@zimage.com (Ant) - 2016-01-01 14:47 -0600
      Re: Writing to old school 3.5" floppy disk(ette)s... Robert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid> - 2016-01-02 20:29 -0600
        Re: Writing to old school 3.5" floppy disk(ette)s... ANTant@zimage.com (Ant) - 2016-01-04 04:57 -0600
          Re: Writing to old school 3.5" floppy disk(ette)s... Robert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid> - 2016-01-04 21:26 -0600
    Re: Writing to old school 3.5" floppy disk(ette)s... Ruben Safir <mrbrklyn@panix.com> - 2016-02-05 03:19 +0000

Page 2 of 3 — ← Prev page 1 [2] 3  Next page →


#2966

FromRobert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid>
Date2015-12-31 08:57 -0600
Message-ID<n63for$ibh$1@omega-3g.local>
In reply to#2964
On 12/30/2015 05:05 AM, Ant wrote:
>> To take ownership of the floppy, enter these commands in this
>> order into a terminal window.  Change 'yourname' to your user
>> name in the chown command...
>
>> sudo umount /media/floppy0
>> sudo mount -a
>> sudo chown user:yourname /media/floppy0
>> sudo chmod -R 755 /media/floppy0
>
> How about making it for everyone?

The ownership and permissions of the mount point directory are, and
always have been, totally irrelevant to the ownership and
permissions of the mounted filesystem.  For filesystems, like the
FAT variants, that do not support Unix permissions and ownership,
those parameters are set up at mount time for the entire filesystem.
The relevant mount options are "uid", "gid", "umask", "dmask", and
"fmask".  See the manpage for the /mount/ command for details.  You
can put a line in /etc/fstab to specify the mount point and options
for the floppy device (be sure to include the "noauto" option), and
most automounters will see and respect that.

Yes, there can be SELinux context issues about whether a confined
process is allowed to use a particular directory as a mount point,
but once the mount has succeeded you are past that point, and
_nothing_ about the permissions of that mount point directory
apply any more.

-- 
Bob Nichols         AT comcast.net I am "RNichols42"

[toc] | [prev] | [next] | [standalone]


#2967

FromANTant@zimage.com (Ant)
Date2015-12-31 16:32 -0600
Message-ID<ROCdnQRBI46dMBjLnZ2dnUU7-VmdnZ2d@earthlink.com>
In reply to#2966
In alt.os.linux.debian Robert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid> wrote:
> On 12/30/2015 05:05 AM, Ant wrote:
> >> To take ownership of the floppy, enter these commands in this
> >> order into a terminal window.  Change 'yourname' to your user
> >> name in the chown command...
> >
> >> sudo umount /media/floppy0
> >> sudo mount -a
> >> sudo chown user:yourname /media/floppy0
> >> sudo chmod -R 755 /media/floppy0
> >
> > How about making it for everyone?

> The ownership and permissions of the mount point directory are, and
> always have been, totally irrelevant to the ownership and
> permissions of the mounted filesystem.  For filesystems, like the
> FAT variants, that do not support Unix permissions and ownership,
> those parameters are set up at mount time for the entire filesystem.
> The relevant mount options are "uid", "gid", "umask", "dmask", and
> "fmask".  See the manpage for the /mount/ command for details.  You
> can put a line in /etc/fstab to specify the mount point and options
> for the floppy device (be sure to include the "noauto" option), and
> most automounters will see and respect that.

> Yes, there can be SELinux context issues about whether a confined
> process is allowed to use a particular directory as a mount point,
> but once the mount has succeeded you are past that point, and
> _nothing_ about the permissions of that mount point directory
> apply any more.

Hmm, so my /etc/fstab's floppy0 line correct and should let me write to 
the 3.5" floppy disks?
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
-- 
Quote of the Week: "Yeah, what's left of it. I was in the militia -- 
national guard... That's good! Wasn't any war any more than there's war 
between men and ants." --stranger; "And we're eat-able ants. I found 
that out... What will they do with us?" --Pierson from H.G. Wells' The 
War of the Worlds
Note: A fixed width font (Courier, Monospace, etc.) is required to see this signature correctly.
  /\___/\   Ant(Dude) @ http://antfarm.home.dhs.org (Personal Web Site)
 / /\ /\ \                 Ant's Quality Foraged Links: http://aqfl.net
| |o   o| |
   \ _ /    Please nuke ANT if replying by e-mail privately. If credit-
    ( )     ing, then please kindly use Ant nickname and AQFL URL/link.

[toc] | [prev] | [next] | [standalone]


#2968

FromRobert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid>
Date2015-12-31 20:01 -0600
Message-ID<n64ml4$7h2$1@omega-3g.local>
In reply to#2967
On 12/31/2015 04:32 PM, Ant wrote:
> Hmm, so my /etc/fstab's floppy0 line correct and should let me write to
> the 3.5" floppy disks?
> /dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0

The files and directories will show up as owned by the user that did
the mounting.  If you do the mount manually in a shell session, that
should be your UID.  If you want to be sure it's opened up for
everybody, you can add "umask=0" to those options, or you can add
"uid={your_numeric_UID}" to be sure everything is owned by you
regardless of how the mount gets done.

-- 
Bob Nichols         AT comcast.net I am "RNichols42"

[toc] | [prev] | [next] | [standalone]


#2969

FromRobert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid>
Date2015-12-31 20:13 -0600
Message-ID<n64nc3$8g1$1@omega-3g.local>
In reply to#2968
On 12/31/2015 08:01 PM, Robert Nichols wrote:
> On 12/31/2015 04:32 PM, Ant wrote:
>> Hmm, so my /etc/fstab's floppy0 line correct and should let me write to
>> the 3.5" floppy disks?
>> /dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
>
> The files and directories will show up as owned by the user that did
> the mounting.  If you do the mount manually in a shell session, that
> should be your UID.  If you want to be sure it's opened up for
> everybody, you can add "umask=0" to those options, or you can add
> "uid={your_numeric_UID}" to be sure everything is owned by you
> regardless of how the mount gets done.

I just realized, if you use "sudo" or "su" to do the mount as root,
then with the fstab line you have everything will be owned by root.
But, with that "user" option in there, you should be able to run
"mount /dev/fd0" or "mount /media/floppy0" in your own ID and see
everything as owned by you. You have to give just _one_ argument to
the mount command (a possible "-r" for read-only is also allowable)
so that it will consult /etc/fstab for the rest. If you try to give
both the device and the mount point, then fstab is not used at all
and you'll see "Only root can do that."

-- 
Bob Nichols         AT comcast.net I am "RNichols42"

[toc] | [prev] | [next] | [standalone]


#2970

FromANTant@zimage.com (Ant)
Date2015-12-31 23:08 -0600
Message-ID<0_idnYAMA61_lBvLnZ2dnUU7-LednZ2d@earthlink.com>
In reply to#2968
In comp.os.linux.hardware Robert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid> wrote:
> On 12/31/2015 04:32 PM, Ant wrote:
> > Hmm, so my /etc/fstab's floppy0 line correct and should let me write to
> > the 3.5" floppy disks?
> > /dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0

> The files and directories will show up as owned by the user that did
> the mounting.  If you do the mount manually in a shell session, that
> should be your UID.  If you want to be sure it's opened up for
> everybody, you can add "umask=0" to those options, or you can add
> "uid={your_numeric_UID}" to be sure everything is owned by you
> regardless of how the mount gets done.

I use KDE (Dolphin) to mount drives. I am trying to avoid using the 
command line.
-- 
Quote of the Week: "Yeah, what's left of it. I was in the militia -- 
national guard... That's good! Wasn't any war any more than there's war 
between men and ants." --stranger; "And we're eat-able ants. I found 
that out... What will they do with us?" --Pierson from H.G. Wells' The 
War of the Worlds
Note: A fixed width font (Courier, Monospace, etc.) is required to see this signature correctly.
  /\___/\   Ant(Dude) @ http://antfarm.home.dhs.org (Personal Web Site)
 / /\ /\ \                 Ant's Quality Foraged Links: http://aqfl.net
| |o   o| |
   \ _ /    Please nuke ANT if replying by e-mail privately. If credit-
    ( )     ing, then please kindly use Ant nickname and AQFL URL/link.

[toc] | [prev] | [next] | [standalone]


#2971

FromThe Natural Philosopher <tnp@invalid.invalid>
Date2016-01-01 09:26 +0000
Message-ID<n65gnu$4fe$2@news.albasani.net>
In reply to#2968
On 01/01/16 02:01, Robert Nichols wrote:
> On 12/31/2015 04:32 PM, Ant wrote:
>> Hmm, so my /etc/fstab's floppy0 line correct and should let me write to
>> the 3.5" floppy disks?
>> /dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
>
> The files and directories will show up as owned by the user that did
> the mounting.  If you do the mount manually in a shell session, that
> should be your UID.  If you want to be sure it's opened up for
> everybody, you can add "umask=0" to those options, or you can add
> "uid={your_numeric_UID}" to be sure everything is owned by you
> regardless of how the mount gets done.
>
Everybody is missing the point. The user says he can delete files, but 
not create them.

To delete implies full permissions. Therefore its not a permissions issue

I am wondering if in fact the diskette is knackered and its only the 
directory track that can be accessed.

-- 
You can get much farther with a kind word and a gun than you can with a 
kind word alone.
Al Capone

[toc] | [prev] | [next] | [standalone]


#2972

FromPascal Hambourg <boite-a-spam@plouf.fr.eu.org>
Date2016-01-01 11:29 +0100
Message-ID<n65kdl$rhl$1@saria.nerim.net>
In reply to#2971
The Natural Philosopher a écrit :
>>
> Everybody is missing the point. The user says he can delete files, but 
> not create them.

The user's statement was wrong, due to a misuse of sudo.

[toc] | [prev] | [next] | [standalone]


#2961

FromMichael Black <et472@ncf.ca>
Date2015-12-29 19:29 -0500
Message-ID<alpine.LNX.2.02.1512291927310.32045@darkstar.example.org>
In reply to#2941
On Tue, 29 Dec 2015, Ant wrote:

> Hello!
>
> In my very old upgraded Debian Wheezy/stable box, I can read my old
> school 3.5" floppy disk(ette)s but it can't write. From what I searched
> online, I need to do some hacking with my configurations files like
> /etc/fstab. KDE v4.14.2's Dolphin automounts and shows me the data in it
> but doesn't let me delete, format, and other write activities. With
> sudo, I can erase files but not write like:
> $ sudo echo > test
> -bash: test: Permission denied
>
If you can delete, it sounds like permissions is set properly.

What kind of drive is it?

I vaguely remember some comments about USB floppy drives in the past, but 
I can't remember the context. If it's a USB floppy drive, there may be 
limitations because of that.

As someone said, being able to read a floppy disk at this time is way more 
important than being able to write to it.  I know I have a couple of USB 
floppy drives, just in case, but I've never tried them.  This computer 
still has a floppy drive.

   Michael



  > $ df
> Filesystem     1K-blocks      Used Available Use% Mounted on
> /dev/sda1         944120    572036    306908  66% /
> udev               10240         0     10240   0% /dev
> tmpfs             411592      9544    402048   3% /run
> /dev/sda8       49851100   7003492  40292216  15% /usr
> tmpfs            1028976        80   1028896   1% /dev/shm
> tmpfs               5120        12      5108   1% /run/lock
> tmpfs            1028976         0   1028976   0% /sys/fs/cgroup
> /dev/sda5         944120      1292    877652   1% /tmp
> /dev/sda6        4673664   1882708   2530504  43% /var
> /dev/sda9       49882844   3207188  44118680   7% /home
> tmpfs             205796         8    205788   1% /run/user/1000
> /dev/fd0            1424         0      1424   0% /media/floppy0
>
> /etc/fstab shows: /dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
>
> Mount shows: /dev/fd0 on /media/floppy0 type vfat (rw,nosuid,nodev,noexec,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=utf8,shortname=mixed,errors=remount-ro,user)
>
> I don't know if those are correct or not. What am I missing? Thank you
> in advance. :)
> -- 
> Quote of the Week: "Yeah, what's left of it. I was in the militia --
> national guard... That's good! Wasn't any war any more than there's war
> between men and ants." --stranger; "And we're eat-able ants. I found
> that out... What will they do with us?" --Pierson from H.G. Wells' The
> War of the Worlds
> Note: A fixed width font (Courier, Monospace, etc.) is required to see this signature correctly.
>  /\___/\   Ant(Dude) @ http://antfarm.home.dhs.org (Personal Web Site)
> / /\ /\ \                 Ant's Quality Foraged Links: http://aqfl.net
> | |o   o| |
>   \ _ /    Please nuke ANT if replying by e-mail privately. If credit-
>    ( )     ing, then please kindly use Ant nickname and AQFL URL/link.
>

[toc] | [prev] | [next] | [standalone]


#2963

FromPascal Hambourg <boite-a-spam@plouf.fr.eu.org>
Date2015-12-30 10:03 +0100
Message-ID<n606lm$28j4$1@saria.nerim.net>
In reply to#2961
Michael Black a écrit :
> On Tue, 29 Dec 2015, Ant wrote:
>> With sudo, I can erase files but not write like:
   ^^^^^^^^^
> If you can delete, it sounds like permissions is set properly.

No. sudo/root does not need permissions.

[toc] | [prev] | [next] | [standalone]


#2973

From"Ralf S. Hellersen" <schneiderxr@arcor.de>
Date2016-01-01 17:31 +0000
Message-ID<n66d5r$lkk$1@news.albasani.net>
In reply to#2941
Am Tue, 29 Dec 2015 01:54:07 -0600 schrieb Ant:

> Hello!
> 
> In my very old upgraded Debian Wheezy/stable box, I can read my old
> school 3.5" floppy disk(ette)s but it can't write. From what I searched
> online, I need to do some hacking with my configurations files like
> /etc/fstab. KDE v4.14.2's Dolphin automounts and shows me the data in it
> but doesn't let me delete, format, and other write activities. With
> sudo, I can erase files but not write like:
> $ sudo echo > test -bash: test: Permission denied
> 
> $ df Filesystem     1K-blocks      Used Available Use% Mounted on
> /dev/sda1         944120    572036    306908  66% /
> udev               10240         0     10240   0% /dev tmpfs            
> 411592      9544    402048   3% /run /dev/sda8       49851100   7003492 
> 40292216  15% /usr tmpfs            1028976        80   1028896   1%
> /dev/shm tmpfs               5120        12      5108   1% /run/lock
> tmpfs            1028976         0   1028976   0% /sys/fs/cgroup
> /dev/sda5         944120      1292    877652   1% /tmp /dev/sda6       
> 4673664   1882708   2530504  43% /var /dev/sda9       49882844   3207188
>  44118680   7% /home tmpfs             205796         8    205788   1%
> /run/user/1000 /dev/fd0            1424         0      1424   0%
> /media/floppy0
> 
> /etc/fstab shows: /dev/fd0        /media/floppy0  auto    rw,user,noauto
>  0       0
> 
> Mount shows: /dev/fd0 on /media/floppy0 type vfat
> 
(rw,nosuid,nodev,noexec,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=utf8,shortname=mixed,errors=remount-
ro,user)
> 
> I don't know if those are correct or not. What am I missing? Thank you
> in advance. :)
Which file system is written on this disk ?

If there occure problems after mounting isn't it an option to use
the mtools instead ?

Regards
Ralf
 

[toc] | [prev] | [next] | [standalone]


#2975

FromANTant@zimage.com (Ant)
Date2016-01-01 12:58 -0600
Message-ID<Rsmdndtgp5_9URvLnZ2dnUU7-budnZ2d@earthlink.com>
In reply to#2973
In comp.os.linux.hardware Ralf S. Hellersen <schneiderxr@arcor.de> wrote:
> Am Tue, 29 Dec 2015 01:54:07 -0600 schrieb Ant:

> > Hello!
> > 
> > In my very old upgraded Debian Wheezy/stable box, I can read my old
> > school 3.5" floppy disk(ette)s but it can't write. From what I searched
> > online, I need to do some hacking with my configurations files like
> > /etc/fstab. KDE v4.14.2's Dolphin automounts and shows me the data in it
> > but doesn't let me delete, format, and other write activities. With
> > sudo, I can erase files but not write like:
> > $ sudo echo > test -bash: test: Permission denied
> > 
> > $ df Filesystem     1K-blocks      Used Available Use% Mounted on
> > /dev/sda1         944120    572036    306908  66% /
> > udev               10240         0     10240   0% /dev tmpfs            
> > 411592      9544    402048   3% /run /dev/sda8       49851100   7003492 
> > 40292216  15% /usr tmpfs            1028976        80   1028896   1%
> > /dev/shm tmpfs               5120        12      5108   1% /run/lock
> > tmpfs            1028976         0   1028976   0% /sys/fs/cgroup
> > /dev/sda5         944120      1292    877652   1% /tmp /dev/sda6       
> > 4673664   1882708   2530504  43% /var /dev/sda9       49882844   3207188
> >  44118680   7% /home tmpfs             205796         8    205788   1%
> > /run/user/1000 /dev/fd0            1424         0      1424   0%
> > /media/floppy0
> > 
> > /etc/fstab shows: /dev/fd0        /media/floppy0  auto    rw,user,noauto
> >  0       0
> > 
> > Mount shows: /dev/fd0 on /media/floppy0 type vfat
> > 
> (rw,nosuid,nodev,noexec,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=utf8,shortname=mixed,errors=remount-
> ro,user)
> > 
> > I don't know if those are correct or not. What am I missing? Thank you
> > in advance. :)
> Which file system is written on this disk ?

FAT since these floppy disks were from the (19)90s.


> If there occure problems after mounting isn't it an option to use
> the mtools instead ?

Does KDE use that? I was using KDE to access the disks. I don't use 
command lines for disk stuff.
-- 
:) New Yr.
Note: A fixed width font (Courier, Monospace, etc.) is required to see this signature correctly.
  /\___/\   Ant(Dude) @ http://antfarm.home.dhs.org (Personal Web Site)
 / /\ /\ \                 Ant's Quality Foraged Links: http://aqfl.net
| |o   o| |
   \ _ /    Please nuke ANT if replying by e-mail privately. If credit-
    ( )     ing, then please kindly use Ant nickname and AQFL URL/link.

[toc] | [prev] | [next] | [standalone]


#2976

FromBobbie Sellers <bliss-sf4ever@dslextreme.com>
Date2016-01-01 11:37 -0800
Message-ID<n66kdi$4pl$1@dont-email.me>
In reply to#2975
On 01/01/2016 10:58 AM, Ant wrote:
> In comp.os.linux.hardware Ralf S. Hellersen <schneiderxr@arcor.de> wrote:
>> Am Tue, 29 Dec 2015 01:54:07 -0600 schrieb Ant:
>
>>> Hello!
>>>
>>> In my very old upgraded Debian Wheezy/stable box, I can read my old
>>> school 3.5" floppy disk(ette)s but it can't write. From what I searched
>>> online, I need to do some hacking with my configurations files like
>>> /etc/fstab. KDE v4.14.2's Dolphin automounts and shows me the data in it
>>> but doesn't let me delete, format, and other write activities. With
>>> sudo, I can erase files but not write like:
>>> $ sudo echo > test -bash: test: Permission denied
>>>
>>> $ df Filesystem     1K-blocks      Used Available Use% Mounted on
>>> /dev/sda1         944120    572036    306908  66% /
>>> udev               10240         0     10240   0% /dev tmpfs
>>> 411592      9544    402048   3% /run /dev/sda8       49851100   7003492
>>> 40292216  15% /usr tmpfs            1028976        80   1028896   1%
>>> /dev/shm tmpfs               5120        12      5108   1% /run/lock
>>> tmpfs            1028976         0   1028976   0% /sys/fs/cgroup
>>> /dev/sda5         944120      1292    877652   1% /tmp /dev/sda6
>>> 4673664   1882708   2530504  43% /var /dev/sda9       49882844   3207188
>>>   44118680   7% /home tmpfs             205796         8    205788   1%
>>> /run/user/1000 /dev/fd0            1424         0      1424   0%
>>> /media/floppy0
>>>
>>> /etc/fstab shows: /dev/fd0        /media/floppy0  auto    rw,user,noauto
>>>   0       0
>>>
>>> Mount shows: /dev/fd0 on /media/floppy0 type vfat
>>>
>> (rw,nosuid,nodev,noexec,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=utf8,shortname=mixed,errors=remount-
>> ro,user)
>>>
>>> I don't know if those are correct or not. What am I missing? Thank you
>>> in advance. :)
>> Which file system is written on this disk ?
>
> FAT since these floppy disks were from the (19)90s.
>
>
>> If there occure problems after mounting isn't it an option to use
>> the mtools instead ?
>
> Does KDE use that? I was using KDE to access the disks. I don't use
> command lines for disk stuff.
>

	Well maybe it is time to learn.
	mtools is on my Mageia 5 KDE and the way to start is "man mtools" at 
the command line.	

	Oh and be glad your disks from the 1990s are not AmigaDOS
disks.  That is a very difficult problem.  And there is no CLI
suite of tools to deal with them.  All my archives from that
period as well were made on ZIP disks and I would have to
figure out how to deal with that.  Maybe I can get the
Amiga 2000b/68060/64 Megabytes of ram, running again and switch them 
back to a more readable format. Maybe not...

	bliss

[toc] | [prev] | [next] | [standalone]


#2987

From"Ralf S. Hellersen" <schneiderxr@arcor.de>
Date2016-01-02 18:51 +0000
Message-ID<n6967n$801$1@news.albasani.net>
In reply to#2975
Am Fri, 01 Jan 2016 12:58:40 -0600 schrieb Ant:

> In comp.os.linux.hardware Ralf S. Hellersen <schneiderxr@arcor.de>
> wrote:
>> Am Tue, 29 Dec 2015 01:54:07 -0600 schrieb Ant:
> 
>> > Hello!
>> > 
>> > In my very old upgraded Debian Wheezy/stable box, I can read my old
>> > school 3.5" floppy disk(ette)s but it can't write. From what I
>> > searched online, I need to do some hacking with my configurations
>> > files like /etc/fstab. KDE v4.14.2's Dolphin automounts and shows me
>> > the data in it but doesn't let me delete, format, and other write
>> > activities. With sudo, I can erase files but not write like:
>> > $ sudo echo > test -bash: test: Permission denied
>> > 
>> > $ df Filesystem     1K-blocks      Used Available Use% Mounted on
>> > /dev/sda1         944120    572036    306908  66% /
>> > udev               10240         0     10240   0% /dev tmpfs 411592  
>> >    9544    402048   3% /run /dev/sda8       49851100   7003492
>> > 40292216  15% /usr tmpfs            1028976        80   1028896   1%
>> > /dev/shm tmpfs               5120        12      5108   1% /run/lock
>> > tmpfs            1028976         0   1028976   0% /sys/fs/cgroup
>> > /dev/sda5         944120      1292    877652   1% /tmp /dev/sda6
>> > 4673664   1882708   2530504  43% /var /dev/sda9       49882844  
>> > 3207188
>> >  44118680   7% /home tmpfs             205796         8    205788  
>> >  1%
>> > /run/user/1000 /dev/fd0            1424         0      1424   0%
>> > /media/floppy0
>> > 
>> > /etc/fstab shows: /dev/fd0        /media/floppy0  auto   
>> > rw,user,noauto
>> >  0       0
>> > 
>> > Mount shows: /dev/fd0 on /media/floppy0 type vfat
>> > 
>> 
(rw,nosuid,nodev,noexec,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=utf8,shortname=mixed,errors=remount-
>> ro,user)
>> > 
>> > I don't know if those are correct or not. What am I missing? Thank
>> > you in advance. :)
>> Which file system is written on this disk ?
> 
> FAT since these floppy disks were from the (19)90s.
> 
> 
>> If there occure problems after mounting isn't it an option to use the
>> mtools instead ?
> 
> I don't use command lines for disk stuff.
It's up to you to solve this problem. The mtools are used at the command 
line and worked fine for me for all purposes.

[toc] | [prev] | [next] | [standalone]


#2989

FromANTant@zimage.com (Ant)
Date2016-01-02 18:38 -0600
Message-ID<6-CdnRtXefMR8BXLnZ2dnUU7-audnZ2d@earthlink.com>
In reply to#2987
...
> >> If there occure problems after mounting isn't it an option to use the
> >> mtools instead ?
> > 
> > I don't use command lines for disk stuff.
> It's up to you to solve this problem. The mtools are used at the command 
> line and worked fine for me for all purposes.

Is there a GUI version of it? I am not the only one who uses this old 
box especially with computer newbies. ;)
-- 
:) New Yr.
Note: A fixed width font (Courier, Monospace, etc.) is required to see this signature correctly.
  /\___/\   Ant(Dude) @ http://antfarm.home.dhs.org (Personal Web Site)
 / /\ /\ \                 Ant's Quality Foraged Links: http://aqfl.net
| |o   o| |
   \ _ /    Please nuke ANT if replying by e-mail privately. If credit-
    ( )     ing, then please kindly use Ant nickname and AQFL URL/link.

[toc] | [prev] | [next] | [standalone]


#2991

FromJ G Miller <miller@yoyo.ORG>
Date2016-01-03 02:17 +0000
Message-ID<n6a0cj$mer$3@dont-email.me>
In reply to#2989
On Saturday, January 3rd, 2016, at 18:38:36h -0600, Ant asked:

> Is there a GUI version of it?

No.

Do you remember DOS?  And command like

       copy file A:

       rename A:file1 A:file2

etc?

Well mtools are a set of command line tools
to look and feel just like those old DOS commands
you used to love using, except they are named with
an m in front eg

    mcopy
    mlabel
    mren  (as in rename)
    mtype

etc

mtools -- Supported commands:
mattrib, mbadblocks, mcat, mcd, mclasserase, mcopy, mdel, mdeltree
mdir, mdoctorfat, mdu, mformat, minfo, mlabel, mmd, mmount
mpartition, mrd, mread, mmove, mren, mshowfat, mshortname, mtoolstest
mtype, mwrite, mzip


Apparently, if you have mtools installed, you can use Konqueror and even
Dolphin to work with DOS filesystems via mtools
(provided that the filesystems they are not mounted)

           <https://forum.kde.ORG/viewtopic.php?f=18&t=127786>

[toc] | [prev] | [next] | [standalone]


#2993

FromANTant@zimage.com (Ant)
Date2016-01-02 23:22 -0600
Message-ID<FaidnXiZVLKKLRXLnZ2dnUU7-VudnZ2d@earthlink.com>
In reply to#2991
In comp.os.linux.hardware J G Miller <miller@yoyo.org> wrote:
> On Saturday, January 3rd, 2016, at 18:38:36h -0600, Ant asked:

> > Is there a GUI version of it?

> No.

> Do you remember DOS?  And command like

>        copy file A:

>        rename A:file1 A:file2

> etc?

Barely. ;)


> Well mtools are a set of command line tools
> to look and feel just like those old DOS commands
> you used to love using, except they are named with
> an m in front eg

>     mcopy
>     mlabel
>     mren  (as in rename)
>     mtype

> etc

> mtools -- Supported commands:
> mattrib, mbadblocks, mcat, mcd, mclasserase, mcopy, mdel, mdeltree
> mdir, mdoctorfat, mdu, mformat, minfo, mlabel, mmd, mmount
> mpartition, mrd, mread, mmove, mren, mshowfat, mshortname, mtoolstest
> mtype, mwrite, mzip


> Apparently, if you have mtools installed, you can use Konqueror and even
> Dolphin to work with DOS filesystems via mtools
> (provided that the filesystems they are not mounted)

>            <https://forum.kde.ORG/viewtopic.php?f=18&t=127786>

Hmm. I tried "floppy:a/" on KDE's Dolphin's URL, but got: "Could not 
access floppy:a. Make sure the floppy in drive a: is a DOS-formatted 
floppy disk and that the permissions of the device file (e.g. /dev/fd0) 
are set correctly (e.g. rwxrwxrwx)."

$ ls -all /dev/fd0
brw-rw---- 1 root disk 2, 0 Dec 30 12:13 /dev/fd0

So, I did a "chmod 777" on it and retried. Nope!

$ ls -all /media/
total 31
drwxr-xr-x   7 root root 4096 Dec 31 17:21 .
drwxr-xr-x  27 root root 4096 Dec 28 07:22 ..
drwxr-x---+  4 root root 4096 Dec 30 12:15 ant
lrwxrwxrwx   1 root root    6 Nov 24  2011 cdrom -> cdrom0
drwxr-xr-x   2 root root 4096 Nov 24  2011 cdrom0
lrwxrwxrwx   1 root root    7 Nov 24  2011 floppy -> floppy0
drwxr-xr-x   2 root root 7168 Dec 31  1969 floppy0
-rw-r--r--   1 root root    0 Jul  5  2013 .hal-mtab
drwx------   2 root root 4096 Dec 20 16:53 Storage2a
drwx------   2 root root 4096 Dec 20 16:53 Storage2b

Just for kicks, I tried chmod 777 on floppy0 to retry. Same results. 
Argh.

$ stat /dev/fd0
  File: ???/dev/fd0???
  Size: 0               Blocks: 0          IO Block: 4096   block 
special file
Device: 5h/5d   Inode: 1162        Links: 1     Device type: 2,0
Access: (0777/brwxrwxrwx)  Uid: (    0/    root)   Gid: (    6/    disk)
Access: 2016-01-02 20:52:46.225355386 -0800
Modify: 2015-12-30 12:13:56.051944170 -0800
Change: 2016-01-02 20:52:14.441995092 -0800
 Birth: -

$ stat /media/floppy
  File: ???/media/floppy??? -> ???floppy0???
  Size: 7               Blocks: 0          IO Block: 4096   symbolic 
link
Device: 801h/2049d      Inode: 18          Links: 1
Access: (0777/lrwxrwxrwx)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2016-01-02 20:54:03.355804250 -0800
Modify: 2011-11-24 15:26:10.353999875 -0800
Change: 2011-11-24 15:26:10.353999875 -0800
 Birth: -

$ stat /media/floppy0
  File: ???/media/floppy0???
  Size: 7168            Blocks: 14         IO Block: 512    directory
Device: 200h/512d       Inode: 1           Links: 2
Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 1969-12-31 16:00:00.000000000 -0800
Modify: 1969-12-31 16:00:00.000000000 -0800
Change: 1969-12-31 16:00:00.000000000 -0800
 Birth: -


But wait. "mdir a:" worked! Then, I tried kfloppy and it was able to do 
a quick format on it with FAT! :O 

It looks like I cannot mount floppy drives to use mtools and stuff. 
Write worked too. Um, but I wanted to use KDE and other GUI file 
managers to access the stuff. :(

mtoolsFM doesn't exist too in Debian's official servers?
-- 
:) New Yr.
Note: A fixed width font (Courier, Monospace, etc.) is required to see this signature correctly.
  /\___/\   Ant(Dude) @ http://antfarm.home.dhs.org (Personal Web Site)
 / /\ /\ \                 Ant's Quality Foraged Links: http://aqfl.net
| |o   o| |
   \ _ /    Please nuke ANT if replying by e-mail privately. If credit-
    ( )     ing, then please kindly use Ant nickname and AQFL URL/link.

[toc] | [prev] | [next] | [standalone]


#2994

FromWildman <best_lay@yahoo.com>
Date2016-01-02 23:41 -0600
Message-ID<4dednWVOjKg6KRXLnZ2dnUU7-WudnZ2d@giganews.com>
In reply to#2993
On Sat, 02 Jan 2016 23:22:31 -0600, Ant wrote:

> mtoolsFM doesn't exist too in Debian's official servers?

It is called mtools.

$ apt-cache policy mtools
mtools:
  Installed: 4.0.18-2
  Candidate: 4.0.18-2
  Version table:
 *** 4.0.18-2 0
        500 http://ftp.debian.org/debian/ jessie/main amd64 Packages
        100 /var/lib/dpkg/status

-- 
<Wildman> GNU/Linux user #557453
"Be at war with your vices, at peace with your neighbors,
and let every new year find you a better man."
  -Benjamin Franklin

[toc] | [prev] | [next] | [standalone]


#2995

FromANTant@zimage.com (Ant)
Date2016-01-03 12:17 -0600
Message-ID<UqqdnQ0RqdEn-BTLnZ2dnUU7-aOdnZ2d@earthlink.com>
In reply to#2994
In alt.os.linux.debian Wildman <best_lay@yahoo.com> wrote:
> On Sat, 02 Jan 2016 23:22:31 -0600, Ant wrote:

> > mtoolsFM doesn't exist too in Debian's official servers?

> It is called mtools.

> $ apt-cache policy mtools
> mtools:
>   Installed: 4.0.18-2
>   Candidate: 4.0.18-2
>   Version table:
>  *** 4.0.18-2 0
>         500 http://ftp.debian.org/debian/ jessie/main amd64 Packages
>         100 /var/lib/dpkg/status

I already have that. Isn't mtoolsFM the GUI file manager?
-- 
Quote of the Week: "The ant's a centaur in his dragon world. Pull down 
thy vanity, it is not man... Made courage, or made order, or made 
grace,... Pull down thy vanity, I say pull down. Learn of the green 
world what can be thy place... In scaled invention or true artistry,... 
Pull down thy vanity,... Paquin pull down! The green casque has outdone 
your elegance." --Ezra Pound's poem
Note: A fixed width font (Courier, Monospace, etc.) is required to see this signature correctly.
  /\___/\   Ant(Dude) @ http://antfarm.home.dhs.org (Personal Web Site)
 / /\ /\ \                 Ant's Quality Foraged Links: http://aqfl.net
| |o   o| |
   \ _ /    Please nuke ANT if replying by e-mail privately. If credit-
    ( )     ing, then please kindly use Ant nickname and AQFL URL/link.

[toc] | [prev] | [next] | [standalone]


#2996

FromWildman <best_lay@yahoo.com>
Date2016-01-03 13:07 -0600
Message-ID<IcmdnQJBPubI7BTLnZ2dnUU7-LWdnZ2d@giganews.com>
In reply to#2995
On Sun, 03 Jan 2016 12:17:30 -0600, Ant wrote:

> In alt.os.linux.debian Wildman <best_lay@yahoo.com> wrote:
>> On Sat, 02 Jan 2016 23:22:31 -0600, Ant wrote:
> 
>> > mtoolsFM doesn't exist too in Debian's official servers?
> 
>> It is called mtools.
> 
>> $ apt-cache policy mtools
>> mtools:
>>   Installed: 4.0.18-2
>>   Candidate: 4.0.18-2
>>   Version table:
>>  *** 4.0.18-2 0
>>         500 http://ftp.debian.org/debian/ jessie/main amd64 Packages
>>         100 /var/lib/dpkg/status
> 
> I already have that. Isn't mtoolsFM the GUI file manager?

My mistake.  I was not aware of mtoolsFM.  You are right it is
not in the Jessie repo.

-- 
<Wildman> GNU/Linux user #557453
The cow died so I don't need your bull!

[toc] | [prev] | [next] | [standalone]


#2997

FromANTant@zimage.com (Ant)
Date2016-01-03 19:01 -0600
Message-ID<L8SdnbdIo4jqWRTLnZ2dnUU7-R-dnZ2d@earthlink.com>
In reply to#2996
In comp.os.linux.hardware Wildman <best_lay@yahoo.com> wrote:
> On Sun, 03 Jan 2016 12:17:30 -0600, Ant wrote:

> > In alt.os.linux.debian Wildman <best_lay@yahoo.com> wrote:
> >> On Sat, 02 Jan 2016 23:22:31 -0600, Ant wrote:
> > 
> >> > mtoolsFM doesn't exist too in Debian's official servers?
> > 
> >> It is called mtools.
> > 
> >> $ apt-cache policy mtools
> >> mtools:
> >>   Installed: 4.0.18-2
> >>   Candidate: 4.0.18-2
> >>   Version table:
> >>  *** 4.0.18-2 0
> >>         500 http://ftp.debian.org/debian/ jessie/main amd64 Packages
> >>         100 /var/lib/dpkg/status
> > 
> > I already have that. Isn't mtoolsFM the GUI file manager?

> My mistake.  I was not aware of mtoolsFM.  You are right it is
> not in the Jessie repo.

Thanks for checking. Oh well. I noticed I can finally use the 3.5" disk 
drive in VirtualBox v5.0.12's VM too with mtools working. I guess this 
would do. :O
-- 
Quote of the Week: "The ant's a centaur in his dragon world. Pull down 
thy vanity, it is not man... Made courage, or made order, or made 
grace,... Pull down thy vanity, I say pull down. Learn of the green 
world what can be thy place... In scaled invention or true artistry,... 
Pull down thy vanity,... Paquin pull down! The green casque has outdone 
your elegance." --Ezra Pound's poem
Note: A fixed width font (Courier, Monospace, etc.) is required to see this signature correctly.
  /\___/\   Ant(Dude) @ http://antfarm.home.dhs.org (Personal Web Site)
 / /\ /\ \                 Ant's Quality Foraged Links: http://aqfl.net
| |o   o| |
   \ _ /    Please nuke ANT if replying by e-mail privately. If credit-
    ( )     ing, then please kindly use Ant nickname and AQFL URL/link.

[toc] | [prev] | [next] | [standalone]


Page 2 of 3 — ← Prev page 1 [2] 3  Next page →

Back to top | Article view | comp.os.linux.hardware


csiph-web