LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-29-2020, 09:21 PM   #4711
Lockywolf
Member
 
Registered: Jul 2007
Posts: 683

Rep: Reputation: 253Reputation: 253Reputation: 253

Would it be possible to mount {/dev, /dev/pts, /dev/input} with "atime" rather than "relatime"? These are ram-based filesystems, so there should not be a performance penalty, but this would allow a super easy way of detecting whether a computer is in use interactively.
 
Old 03-30-2020, 03:59 AM   #4712
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
Quote:
Originally Posted by USUARIONUEVO View Post
I try to test uncommenting that.

I need edit fstab , when plug or unplug some devices sdX changing positions, only i fix, rebuilding kernel , and change yes to module under BLK_DEV_FD option.
setup in the -current installer should be modified to use UUID instead of devices names in /etc/fstab, as done in Slint and most other Linux distributions. No need to change the kernel configuration (even if doing that doesn't hurt).

Last edited by Didier Spaier; 03-30-2020 at 04:27 AM.
 
2 members found this post helpful.
Old 03-30-2020, 04:25 AM   #4713
TurboBlaze
Member
 
Registered: Jan 2018
Location: Russian Federation, Lipetsk region, Dankov
Distribution: Porteus
Posts: 196

Rep: Reputation: Disabled
meson 0.54.0
https://github.com/mesonbuild/meson/releases
 
Old 03-30-2020, 04:48 AM   #4714
Lockywolf
Member
 
Registered: Jul 2007
Posts: 683

Rep: Reputation: 253Reputation: 253Reputation: 253
Quote:
Originally Posted by Didier Spaier View Post
setup in the -current installer should be modified to use UUID instead of devices names in /etc/fstab
It's a bad idea, because UUID's change more frequently than sdX numbers.
 
1 members found this post helpful.
Old 03-30-2020, 04:58 AM   #4715
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
Quote:
Originally Posted by Lockywolf View Post
It's a bad idea, because UUID's change more frequently than sdX numbers.
If you have two removable devices, their sdX name will change every time you plug them in a different order. The UUID (aka file system UUID) will change every time you create a new file system in the partition. How frequently do you issue a command like "mkfs.<fileystem type> /dev/<name>"?

You can also name the partition by its own UUID (PARTUUID) regardless of the file system. This will change if you delete then recreate the partition, or resize it. FWIW, I attach the default /etc/default/grub currently shipped in Slint (for grub-2.04+git365e0cc3e7_20201227), renamed grub.txt
Attached Files
File Type: txt grub.txt (3.9 KB, 19 views)

Last edited by Didier Spaier; 03-30-2020 at 05:33 AM. Reason: Paragraph added.
 
1 members found this post helpful.
Old 03-30-2020, 07:25 AM   #4716
Lockywolf
Member
 
Registered: Jul 2007
Posts: 683

Rep: Reputation: 253Reputation: 253Reputation: 253
I change my HDD less often than I change partitions.

For removable usb sticks what you're saying is correct, but I don't think that removable drives is the main point of an installer.

Or rather I (personally) would be more likely to rsync an installed Slackware root onto a usb partition and edit the fstab file rather than install directly onto a usb stick.
 
Old 03-30-2020, 09:00 AM   #4717
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
Quote:
Originally Posted by Didier Spaier View Post
setup in the -current installer should be modified to use UUID instead of devices names in /etc/fstab, as done in Slint and most other Linux distributions. No need to change the kernel configuration (even if doing that doesn't hurt).
Personally, I prefer to use labels, where possible. At least you can make them meaningful. I hate seeing a fstab full of meaningless UUIDS

Also, I wouldn't want to see lvm style /dev/vgname/lvname entries being replaced by UUIDS as the lvm names are both location independent and convey meaning (that is, as long as you're not daft enough to call them something like vg01/lv01 ^waves to Redhat*)
 
6 members found this post helpful.
Old 03-30-2020, 09:53 AM   #4718
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
Quote:
Originally Posted by GazL View Post
Personally, I prefer to use labels, where possible.
And you can create them again after a partition resize or stick replacement.
I always use labels too, except for the root partition as I don't use a initrd and the kernel itself doesn't support labels. But apart from that
Code:
LABEL=Backup            /mnt/Backup     auto    noauto,users            0 0
LABEL=Gutenberg         /mnt/Gutenberg  auto    noauto,users            0 0
LABEL=Lexar_64G         /mnt/Lexar      auto    noauto,users            0 0
LABEL=MuziekArchief     /mnt/Archief    auto    noauto,users            0 0
LABEL=MyBook_WD1T       /mnt/MyBook     auto    noauto,users            0 0
LABEL=SanDisk_32G       /mnt/SanDisk    auto    noauto,users            0 0
LABEL=Toshiba_2T        /mnt/Toshiba    auto    noauto,users            0 0
LABEL=Videos_WD1.5T     /mnt/Videos     auto    noauto,users            0 0

LABEL=DaneElec_2G       /mnt/DaneElec   vfat    noauto,users,fmask=0133 0 0
LABEL=EnVivo_MP3        /mnt/EnVivo     vfat    noauto,users,fmask=0133 0 0
LABEL=KINGSTON_4G       /mnt/Kingston   vfat    noauto,users,fmask=0133 0 0
UUID=F009-64A5          /mnt/Lumix      vfat    noauto,users,ro,fmask=0333 0 0
LABEL=TimeMachine       /mnt/TimeMachine ntfs-3g noauto,fmask=0133      0 0
(the first group is everything with a Linux type fs, the 2nd sticks, my Lumix camera which I cannot label, etc).

PS: The SanDisk and Lexar entries are for USB sticks too, but they have been REformatted with a Linux fs, so can be mounted with a file type of 'auto'. Most of the other entries are only mounted when needed and are often OFFline.

Last edited by ehartman; 03-30-2020 at 10:34 AM. Reason: Addition about Linux formatted USB sticks
 
3 members found this post helpful.
Old 03-30-2020, 10:34 AM   #4719
burdi01
Member
 
Registered: Dec 2010
Location: The Netherlands
Distribution: Slackware Current64, PartedMagic, Xubuntu
Posts: 465

Rep: Reputation: 114Reputation: 114
Quote:
How frequently do you issue a command like "mkfs.<fileystem type> /dev/<name>"?
Quite often - for backup, restore and/or check and defrag.
Quote:
This [partuuid] will change if you delete then recreate the partition, or resize it.
Less often. An other issue would be when exchanging my on- and off-site backup disks.

Actually the external [usb] disks that are / may be connected at boot time cause problems. Afterwards the sequence in which the other external devices are connected can easily be managed.

I personally use udev rules to create aliases:
Code:
# 73-burdi01.rules : Additional udev rules
# ========================================
# (c) DLCB 3/1-2020

# External USB disk is sometimes /dev/sdb, sometimes /dev/sdf or whatever
KERNEL=="sd*", SUBSYSTEMS=="scsi", ATTRS{vendor}=="WD", ATTRS{model}=="Elements 25A3", SYMLINK+="sdxb%n"
KERNEL=="sd*", SUBSYSTEMS=="scsi", ATTRS{vendor}=="TOSHIBA", ATTRS{model}=="External USB 3.0", SYMLINK+="sdxd%n"
in combination with my fstab:
Code:
/dev/sda7    /          ext4      noatime                  0 1
/dev/sda6    swap       swap      defaults                 0 0
proc         /proc      proc      defaults                 0 0
sysfs        /sys       sysfs     defaults                 0 0
tmpfs        /dev/shm   tmpfs     defaults                 0 0
devpts       /dev/pts   devpts    gid=5,mode=620           0 0
/dev/sdb1    /C         ntfs-3g   noatime,uid=root,gid=vfat,dmask=002,fmask=113  0 0
/dev/sdb8    /E         ntfs-3g   noatime,uid=root,gid=vfat,dmask=002,fmask=113  0 0
/dev/sdb9    /H         ntfs-3g   noatime,uid=root,gid=vfat,dmask=002,fmask=113  0 0
/dev/sdxb5   /I         ntfs-3g   noauto,noatime,uid=root,gid=vfat,dmask=002,fmask=113  0 0
/dev/sdxb6   /dummy     auto      noauto                   0 0
/dev/sdxb7   /dummy     auto      noauto                   0 0
/dev/sdxd1   /dummy     auto      noauto                   0 0
/dev/sdxd2   /dummy     auto      noauto                   0 0
/dev/sdxd5   /J         ntfs-3g   noauto,noatime,uid=root,gid=vfat,dmask=002,fmask=113  0 0
/dev/sdxd10  /dummy     auto      noauto                   0 0
/dev/sdh1    /A         auto      user,noauto,relatime     0 0
/dev/sdh2    /B         auto      user,noauto,relatime     0 0
/dev/cdrom   /cdrom     auto      ro,user,noauto           0 0
/dev/sda5    /boot      ext2      noauto,noatime           0 0
The sdxb* disk (/I) is my external backup disk.
Note that the aliases can also be used to easily apply mount options - as is done for the sdxd* (/J) disk.
The sdh* entries allow my sundry usb disks/sticks to be mounted afterwards. Mounting an additional stick will result in /dev/sdi*.
The /dummy entries stop my Xubuntu system automounting them.

Last edited by burdi01; 03-30-2020 at 10:39 AM.
 
1 members found this post helpful.
Old 03-30-2020, 11:57 AM   #4720
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by burdi01 View Post
Quite often - for backup, restore and/or check and defrag.
This is likely the minority of people using computers. I rarely format my disks and I don't personally know anyone who formats theirs on a regular basis.

Quote:
Originally Posted by burdi01 View Post
I personally use udev rules to create aliases:
Code:
# 73-burdi01.rules : Additional udev rules
# ========================================
# (c) DLCB 3/1-2020

# External USB disk is sometimes /dev/sdb, sometimes /dev/sdf or whatever
KERNEL=="sd*", SUBSYSTEMS=="scsi", ATTRS{vendor}=="WD", ATTRS{model}=="Elements 25A3", SYMLINK+="sdxb%n"
KERNEL=="sd*", SUBSYSTEMS=="scsi", ATTRS{vendor}=="TOSHIBA", ATTRS{model}=="External USB 3.0", SYMLINK+="sdxd%n"
I like this idea! But it doesn't seem like it'd work in my case as I have 2 devices that have the same model name in udevadm. Plus it seems like a lot of work to get the info to build these udev rules every time I add a device to the system. UUIDs are simple and I only need to tweak them in the fstab (my root, home, and EFI partition are all on a single NVMe device, so unless I add a second one to the system, I won't need to worry about tweaking my initrd or elilo.conf to use UUIDs for the time being.
 
Old 03-30-2020, 03:44 PM   #4721
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
Hi again , for me , its not a big problem , i rebuild changing floppy device as modular in to HUGE kernel config.

Arround if people format or not .... every people when make new install format the partition ... if you installs on sdb , but when reboot , remove usb stick ...and sdb IS now sda , then boot fails ..cause sdb non exist without usb plugged ... its a very strange scenario , but i found some times , ever under ASROCK , motherboards , NEVER under netbook/notebook , only in to PC , with some asrock like extreme 4.

If changing the floppy device YES to MODULAR , is a problem for the installer , then no change , i can live with a some kernel rebuild.

Last edited by USUARIONUEVO; 03-30-2020 at 03:45 PM.
 
Old 03-30-2020, 09:51 PM   #4722
Lockywolf
Member
 
Registered: Jul 2007
Posts: 683

Rep: Reputation: 253Reputation: 253Reputation: 253
We have the full GNU developer suite, that is gcc, g++, gnat, gfortran, gdb, but not full Apple/LLVM development suite.
We have LLVM, lldb, clang, clang++, but not flang or f18 (for Fortran). This is a bit annoying if the users chooses to build most of the stuff with, clang, but ends up building BLAS/Atlas/OpenBLAS with gfortran.

Shall flang or f18 be included?
 
Old 03-30-2020, 11:53 PM   #4723
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by Lockywolf View Post
Shall flang or f18 be included?
Serious question... do we have compiler packages that are not being used anywhere in the system? If Pat isn't building anything using flang or f18, I'm not sure if he would include it (but I don't know development that well, and it could very well be that he's already including development software that isn't being used in building Slackware).

But if he does package development software that isn't being used, how likely are people to use flang and f18? There doesn't even seem to be SlackBuilds for them on SBo, so it seems like it might be something that is rarely used and may not have a place to be included with Slackware itself and is to be better maintained on SBo.
 
1 members found this post helpful.
Old 03-31-2020, 03:47 AM   #4724
burdi01
Member
 
Registered: Dec 2010
Location: The Netherlands
Distribution: Slackware Current64, PartedMagic, Xubuntu
Posts: 465

Rep: Reputation: 114Reputation: 114
@bassmadrigal:
Quote:
... as I have 2 devices that have the same model name in udevadm.
You could use e.g. the serial number additionally or instead.
 
Old 03-31-2020, 08:06 AM   #4725
Thom1b
Member
 
Registered: Mar 2010
Location: France
Distribution: Slackware
Posts: 484

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
openssl-1.1.1f is released.

https://www.openssl.org/source/openssl-1.1.1f.tar.gz
https://www.openssl.org/source/opens....1f.tar.gz.asc
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Requests for -current (20151216) rworkman Slackware 3441 12-28-2017 03:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration