Re: [PLUG] fstab entry

2015-08-28 Thread Dale Snell
On Fri, 28 Aug 2015 08:20:47 -0700, in message
caarut0gzxdj5xqdnlkjax8e+vxpbbztrbvxxrvpwxpd4vnl...@mail.gmail.com,
Denis Heidtmann wrote:

 I needed to use the floppy disk on my ubuntu 14.04 system (why is a
 separate story).  I found that the default setup had the floppy owned
 by root. Even when I made myself a member of the group floppy, I did
 not have write access. It appeared as if the drive was not a member
 of the group floppy.
 
 On searching for a solution I came across a change to /etc/fstab which
 solved the problem.  My question is, I would like to understand what
 these changes do and what the entries mean, and make sure that the
 changes do not have any flaws. Could the dropping of the utf8 option
 produce a problem?
 
 Original entry (as provided by the installation):
 /dev/fd0   /media/floppy0  auto   rw,user,noauto,exec,utf8  0 0
 
 New entry:
 /dev/fd0   /media/floppy   auto  rw,user,noauto,exec,gid=floppy,umask=007 0 0

You ensured that the floppy was a member of group floppy.  Since
you're a member of that group, you now have access.  The utf8
option does different things, depending on the type of
filesystem.  You'll have to read the mount(8) man page to
determine what's happening in your particular case.  If you're
formatting your floppy as vfat, then I'd keep the utf8 option.
BTW, you might want to specify uid=your_user_ID.  That should
make sure that you own the device, not root.

Hope this helps.

--Dale

-- 
It is by caffeine alone I set my mind in motion.  It is by the
beans of Java that thoughts acquire speed, the hands acquire
shakes, the shakes become a warning.  It is by caffeine alone I set
my mind in motion.-- The Programmer's Mantra


pgp_x0kfOo0dk.pgp
Description: OpenPGP digital signature
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] fstab entry

2015-08-28 Thread Denis Heidtmann
I needed to use the floppy disk on my ubuntu 14.04 system (why is a
separate story).  I found that the default setup had the floppy owned by
root. Even when I made myself a member of the group floppy, I did not have
write access. It appeared as if the drive was not a member of the group
floppy.

On searching for a solution I came across a change to /etc/fstab which
solved the problem.  My question is, I would like to understand what these
changes do and what the entries mean, and make sure that the changes do not
have any flaws. Could the dropping of the utf8 option produce a problem?

Original entry (as provided by the installation):
/dev/fd0   /media/floppy0  auto   rw,user,noauto,exec,utf8  0 0

New entry:
/dev/fd0   /media/floppy   auto  rw,user,noauto,exec,gid=floppy,umask=007 0
 0

Thanks,
-Denis
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Linux distributions

2015-08-28 Thread Ken Eshelby
I have been using Mint with XFCE as a desktop for many years and across two
jobs. I tend to work with about a dozen desktops (workspaces) and the
behavior of XFCE suits me, or I've just become accustomed to it.  Any
instability has historically been due to a specific hardware
component/driver.

I also support customers that typically are running RHEL with a few Debian
installs too, and have a number of VMs running varieties of versions of
Debian and Centos with different versions of our software.  (opennms.org/com,
we do open source enterprise network managment software)  Not a big fan of
systemd for the dubious individual heading it and their approach/vision,
but change is.  We tend to favor redhat-based distros mostly because it
reflects our customer base.  They use it under heavy loads in large
environments and it has been very stable.

Maybe the largest differentiating factor I have noticed is that binary
packages *I use* tend to come in rpms more than deb.  It is usually, except
in SuSE flavors (and we also used SLES at oldjob), pretty easy to match up
rpms to a redhat version and more difficult in a debian or ubuntu
environment.  Both package management environments aren't the best
(apt-/dpkg vs yum/rpm), though I think redhat gets the tip because
apt-cache and dpkg --get-selections are just weird to anyone not used to
them.

A lot of this is very conditional and depends on what you're doing with
linux.  I had a coworker at oldjob that would buid the most minimal BSD and
tiny kernel he could.  I also had another that did similarly with Arch.
Part of their enjoyment of *nix was they could do that and accepted the
difficulties (or lack of) that came with those approaches.  I'm not a fan
of extra cruft, and vanilla installs come with plenty, but not to the point
that I wanted to create a custom install approach.

Just put together a small, low-power desktop based on the ASRock N3700-ITX
(6W TDP) with Mint 17.2 and am in a holding pattern for Intel to release a
Skylake video driver for Linux. Might be a good time to try other
distros/desktops and see how they do with the hardware until drivers are
available.

-- 
Ken

PGP Key Fingerprint
7F29 C36C 4607 8C14 C82D  5DEA 1C1D F5D9 DBA0 F9AF
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] fstab entry

2015-08-28 Thread Denis Heidtmann
On Fri, Aug 28, 2015 at 8:52 AM, Dale Snell ddsn...@frontier.com wrote:

 On Fri, 28 Aug 2015 08:20:47 -0700, in message
 caarut0gzxdj5xqdnlkjax8e+vxpbbztrbvxxrvpwxpd4vnl...@mail.gmail.com,
 Denis Heidtmann wrote:

  I needed to use the floppy disk on my ubuntu 14.04 system (why is a
  separate story).  I found that the default setup had the floppy owned
  by root. Even when I made myself a member of the group floppy, I did
  not have write access. It appeared as if the drive was not a member
  of the group floppy.
 
  On searching for a solution I came across a change to /etc/fstab which
  solved the problem.  My question is, I would like to understand what
  these changes do and what the entries mean, and make sure that the
  changes do not have any flaws. Could the dropping of the utf8 option
  produce a problem?
 
  Original entry (as provided by the installation):
  /dev/fd0   /media/floppy0  auto   rw,user,noauto,exec,utf8  0 0
 
  New entry:
  /dev/fd0   /media/floppy   auto
 rw,user,noauto,exec,gid=floppy,umask=007 0 0

 You ensured that the floppy was a member of group floppy.  Since
 you're a member of that group, you now have access.  The utf8
 option does different things, depending on the type of
 filesystem.  You'll have to read the mount(8) man page to
 determine what's happening in your particular case.  If you're
 formatting your floppy as vfat, then I'd keep the utf8 option.
 BTW, you might want to specify uid=your_user_ID.  That should
 make sure that you own the device, not root.

 Hope this helps.

 --Dale


Thanks.  It does help.  It was a struggle, but I managed to gain some
understanding by reading, rereading, and rereading again the mount man page.

I find now that there are three folders under media: floppy, floppy0, and
household. floppy is a link to floppy0, but why is household now there?
(household is the current user name).  And the original mount point was
 /media/floppy0, the new one is  /media/floppy.  Does this matter?

-Denis
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] Share error?

2015-08-28 Thread Denis Heidtmann
I clicked on the Floppy Disk in the Files GUI (Nautilus replacement, I
believe.)  The following window popped up:

Unable to access Floppy Disk

Error mounting system-managed device /dev/fd0: Comand-line
'mount/media/floppy exited with non-zero exit status 32: mount: /dev/fd0
is not a valid block device

The drive was empty, so it may always respond this way.  But then the
following popped up:

There was an error while getting the sharing information

'net usershare' returned error 255:net usershare: cannot open usershare
directory /var/lib/samba/usershares. Error No such file or dirctory
Please ask your system administrator to enable user sharing.

I have done no explicit sharing.  Is this a bad sign?

Thanks,
-Denis
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug