Re: Can fstrim work on read only mounts?

2014-08-16 Thread Ed Greshko
On 08/17/14 08:16, Ali Alipoor.R wrote: > 1- can fstrim work on read only mounted partitions? > 2- can discard and ro options be mixed in fstab? I don't have any SSD in my systems. However, doing a bit of reading on "trim" it seems it addresses a need when files are being created/deleted/modifie

Re: Can fstrim work on read only mounts?

2014-08-16 Thread Ahmad Samir
On 17/08/14 03:16, Ali Alipoor.R wrote: Hi 1- can fstrim work on read only mounted partitions? [...] 2- can discard and ro options be mixed in fstab? The upstream ext4 filesystem developer had posted[1] some time ago that using the "discard" mount option is not recommended for most SATA S

Can fstrim work on read only mounts?

2014-08-16 Thread Ali Alipoor.R
Hi 1- can fstrim work on read only mounted partitions? 2- can discard and ro options be mixed in fstab? Thanks -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://f

Re: OT: bash help

2014-08-16 Thread Mike Wright
08/16/2014 04:14 PM, Mark C. Allman wrote: On Sun, 2014-08-17 at 00:42 +0200, Suvayu Ali wrote: On Sat, Aug 16, 2014 at 02:44:14PM -0700, Mike Wright wrote: Hi all, I'm trying to write a simple script that if provided an argument, uses that, or if nothing is provided, uses a predefined string.

Re: Fedora still doesn't sign its repo data?

2014-08-16 Thread Joonas Lehtonen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 > It's logistically difficult to sign the repodata... but of course > it could be done. > > Many, if not all of the things they mention (I can't seem to find a > link to the orig USENIX pdf thats still valid to be sure) were > fixed by us moving to

Re: OT: bash help

2014-08-16 Thread Mark C. Allman
On Sun, 2014-08-17 at 00:42 +0200, Suvayu Ali wrote: > On Sat, Aug 16, 2014 at 02:44:14PM -0700, Mike Wright wrote: > > Hi all, > > > > I'm trying to write a simple script that if provided an argument, uses that, > > or if nothing is provided, uses a predefined string. > > > > if [ -n $# ] > > T

Re: Fedora still doesn't sign its repo data?

2014-08-16 Thread Kevin Fenzi
On Sat, 16 Aug 2014 22:20:26 + Joonas Lehtonen wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > Hi, > > over five years ago vulnerabilities in Fedora's (and others) package > managers [1] have been presented at USENIX. > > And even though yum supports repo_gpgcheck since 2008

Re: OT: bash help

2014-08-16 Thread Suvayu Ali
On Sat, Aug 16, 2014 at 02:44:14PM -0700, Mike Wright wrote: > Hi all, > > I'm trying to write a simple script that if provided an argument, uses that, > or if nothing is provided, uses a predefined string. > > if [ -n $# ] This will always be true. -n tests if a string is empty or not. 0 coun

Fedora still doesn't sign its repo data?

2014-08-16 Thread Joonas Lehtonen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi, over five years ago vulnerabilities in Fedora's (and others) package managers [1] have been presented at USENIX. And even though yum supports repo_gpgcheck since 2008 [2] Fedora still does not make use of it to protect the repo metadata. Are t

Re: OT: bash help

2014-08-16 Thread Joe Zeff
On 08/16/2014 02:44 PM, Mike Wright wrote: I'm trying to write a simple script that if provided an argument, uses that, or if nothing is provided, uses a predefined string. I found this example that might help: http://tldp.org/LDP/abs/html/comparison-ops.html#STRTEST -- users mailing list use

Re: OT: bash help

2014-08-16 Thread Fred Smith
On Sat, Aug 16, 2014 at 02:44:14PM -0700, Mike Wright wrote: > Hi all, > > I'm trying to write a simple script that if provided an argument, > uses that, or if nothing is provided, uses a predefined string. > > if [ -n $# ] > then > WORDS=$1 > else > WORDS="these are some words" > fi > ec

Re: OT: bash help

2014-08-16 Thread Joe Zeff
On 08/16/2014 02:44 PM, Mike Wright wrote: if [ -n $# ] then WORDS=$1 else WORDS="these are some words" fi echo $WORDS; The second case is always comes back "". But if I write WORDS='these are some words' echo $WORDS I get the assigned string. In your first example, you use full q

OT: bash help

2014-08-16 Thread Mike Wright
Hi all, I'm trying to write a simple script that if provided an argument, uses that, or if nothing is provided, uses a predefined string. if [ -n $# ] then WORDS=$1 else WORDS="these are some words" fi echo $WORDS; The second case is always comes back "". But if I write WORDS='these

head's up: /usr/bin/emacs gone for -nox users

2014-08-16 Thread Bill McGonigle
bz: https://bugzilla.redhat.com/show_bug.cgi?id=1130587 -- Bill McGonigle, Owner BFC Computing, LLC http://bfccomputing.com/ Telephone: +1.855.SW.LIBRE Email, IM, VOIP: b...@bfccomputing.com VCard: http://bfccomputing.com/vcard/bill.vcf Social networks: bill_mcgonigle/bill.mcgonigle -- users